diff options
Diffstat (limited to 'command.c')
-rw-r--r-- | command.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,3 +1,5 @@ +#include "ted.h" + typedef struct { const char *name; Command cmd; @@ -106,7 +108,7 @@ const char *command_to_str(Command c) { } // get the string corresponding to this argument; returns NULL if it's not a string argument -const char *arg_get_string(Ted *ted, i64 argument) { +static const char *arg_get_string(Ted *ted, i64 argument) { if (argument < 0) return NULL; if (argument & ARG_STRING) { argument -= ARG_STRING; |