summaryrefslogtreecommitdiff
path: root/src/ratpoison.h
diff options
context:
space:
mode:
authorsabetts <sabetts>2001-09-18 06:41:30 +0000
committersabetts <sabetts>2001-09-18 06:41:30 +0000
commit445978d53f43962da85830a396aaf3acd021219a (patch)
treeed20d6913b330da251e9adb24eb7666fd7c831c2 /src/ratpoison.h
parent5d2d31925ea817577c9293c83349fe80cb500099 (diff)
downloadratpoison-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.h1
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 */