summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsabetts <sabetts>2001-09-18 04:49:39 +0000
committersabetts <sabetts>2001-09-18 04:49:39 +0000
commit5d2d31925ea817577c9293c83349fe80cb500099 (patch)
treece8fdf34133ec053c567864e3b823407a35f2a3e /src
parent30059e1fb5dc3373c0bef39080a69d614a20ba82 (diff)
downloadratpoison-5d2d31925ea817577c9293c83349fe80cb500099.zip
(cmd_clock): rename to cmd_time. Dependant code
updated. (user_commands): rename "clock" command to "time".
Diffstat (limited to 'src')
-rw-r--r--src/actions.c4
-rw-r--r--src/actions.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/actions.c b/src/actions.c
index 9b02e84..9f86de3 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -34,7 +34,7 @@ static user_command user_commands[] =
{ {"abort", cmd_abort, arg_VOID},
{"banish", cmd_banish, arg_VOID},
{"bind", cmd_bind, arg_VOID},
- {"clock", cmd_clock, arg_VOID},
+ {"time", cmd_time, arg_VOID},
{"colon", cmd_colon, arg_STRING},
{"curframe", cmd_curframe, arg_VOID},
{"delete", cmd_delete, arg_VOID},
@@ -927,7 +927,7 @@ cmd_quit(int interactive, void *data)
<cosis@lysator.liu.se> for the patch. Thanks to Jonathan Walther
<krooger@debian.org> for making it pretty. */
char *
-cmd_clock (int interactive, void *data)
+cmd_time (int interactive, void *data)
{
char *msg, *tmp;
time_t timep;
diff --git a/src/actions.h b/src/actions.h
index 39639a2..3660a0c 100644
--- a/src/actions.h
+++ b/src/actions.h
@@ -56,7 +56,7 @@ char * cmd_prev (int interactive, void *data);
char * cmd_prev_frame (int interactive, void *data);
char * cmd_windows (int interactive, void *data);
char * cmd_other (int interactive, void *data);
-char * cmd_clock (int interactive, void *data);
+char * cmd_time (int interactive, void *data);
char * cmd_version (int interactive, void *data);
char * cmd_unimplemented (int interactive, void *data);
char * cmd_bind (int interactive, void* data);