X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fclient%2Fcommand_db.c;h=7d35582dda258abb9472dcee87ce8bd7655d7e8d;hb=1c20e240bb704cddfa80b60dfa20863218edc6d8;hp=fa125c45171b70877ed552df1974e5073eb16e55;hpb=c53b1488c5a53e8b12cb3a631763f98010420690;p=plomrogue diff --git a/src/client/command_db.c b/src/client/command_db.c index fa125c4..7d35582 100644 --- a/src/client/command_db.c +++ b/src/client/command_db.c @@ -1,6 +1,7 @@ /* src/client/command_db.c */ #include "command_db.h" +#include /* NULL */ #include /* uint8_t, uint32_t */ #include /* FILE */ #include /* free() */ @@ -30,7 +31,7 @@ static void copy_tokenized_string(char * line, char ** ch_ptr, char * delim) -extern struct Command * get_command_data(char * dsc_short) +extern struct Command * get_command(char * dsc_short) { struct Command * cmd_ptr = world.cmd_db.cmds; uint8_t i = 0;