aboutsummaryrefslogtreecommitdiff
path: root/src/cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd.c')
-rw-r--r--src/cmd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cmd.c b/src/cmd.c
index d208683..4ef28f2 100644
--- a/src/cmd.c
+++ b/src/cmd.c
@@ -11,6 +11,8 @@
/* A "command" is actually anything the user types, whether or
not it starts with a / character. */
+extern void num_to_numbuf(unsigned int n); /* printnum.s */
+
char *command, *arg1, *arg2, *arg3;
static char *target;
@@ -249,7 +251,7 @@ unsigned int read_rtclok(void) {
}
static void rtclok_to_numbuf(void) {
- itoa(read_rtclok(), numbuf, 10);
+ num_to_numbuf(read_rtclok());
}
void cmd_server_ping(void) {