From 445978d53f43962da85830a396aaf3acd021219a Mon Sep 17 00:00:00 2001 From: sabetts Date: Tue, 18 Sep 2001 06:41:30 +0000 Subject: * 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". --- src/ratpoison.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ratpoison.h') 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 */ -- cgit v1.2.3