home · contact · privacy
Merged world.wmeta and world.winconf_db into world.wins.
[plomrogue] / src / client / command_db.c
index fa125c45171b70877ed552df1974e5073eb16e55..7d35582dda258abb9472dcee87ce8bd7655d7e8d 100644 (file)
@@ -1,6 +1,7 @@
 /* src/client/command_db.c */
 
 #include "command_db.h"
+#include <stddef.h> /* NULL */
 #include <stdint.h> /* uint8_t, uint32_t */
 #include <stdio.h> /* FILE */
 #include <stdlib.h> /* 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;