home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Optimized WinConf / WinConfDB structure, removed redundant .draw.
[plomrogue]
/
src
/
client
/
command_db.c
diff --git
a/src/client/command_db.c
b/src/client/command_db.c
index fa125c45171b70877ed552df1974e5073eb16e55..7d35582dda258abb9472dcee87ce8bd7655d7e8d 100644
(file)
--- 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"
/* 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() */
#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;
{
struct Command * cmd_ptr = world.cmd_db.cmds;
uint8_t i = 0;