diff options
author | sabetts <sabetts> | 2001-09-18 06:41:30 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2001-09-18 06:41:30 +0000 |
commit | 445978d53f43962da85830a396aaf3acd021219a (patch) | |
tree | ed20d6913b330da251e9adb24eb7666fd7c831c2 /src/ratpoison.h | |
parent | 5d2d31925ea817577c9293c83349fe80cb500099 (diff) | |
download | ratpoison-445978d53f43962da85830a396aaf3acd021219a.zip |
* src/ratpoison.h (xstrdup): new prototype
* src/main.c (xstrdup): new function. All calls to strdup replaced
with calls to xstrdup.
(main): Keep a list of all commands pasted in through the -c command-line option.
(main): execute all commands pasted in through the -c command-line option.
* src/actions.h (cmd_chdir): new prototype
* src/actions.c (cmd_clock): rename to cmd_time. Dependant code
updated.
(user_commands): rename "clock" command to "time".
(cmd_chdir): new function
(user_commands): new command "chdir".
Diffstat (limited to 'src/ratpoison.h')
-rw-r--r-- | src/ratpoison.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ratpoison.h b/src/ratpoison.h index 4defe46..f8c6c53 100644 --- a/src/ratpoison.h +++ b/src/ratpoison.h @@ -67,5 +67,6 @@ void read_rc_file (FILE *file); void fatal (const char *msg); void *xmalloc (size_t size); void *xrealloc (void *ptr, size_t size); +char *xstrdup (char *s); #endif /* ! _RATPOISON_H */ |