From: Christian Heller Date: Wed, 22 Jan 2014 12:59:28 +0000 (+0100) Subject: Included were NULL was used. X-Git-Tag: tce~879 X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/%7B%7B%20web_path%20%7D%7D/%7B%7Bdb.prefix%7D%7D/day_todos?a=commitdiff_plain;h=65efdbea2c5978de283aab627ca62f5a2c983353;p=plomrogue Included were NULL was used. --- diff --git a/src/client/command_db.c b/src/client/command_db.c index 699eb46..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() */ diff --git a/src/client/draw_wins.c b/src/client/draw_wins.c index 4a88038..1df666b 100644 --- a/src/client/draw_wins.c +++ b/src/client/draw_wins.c @@ -2,6 +2,7 @@ #include "draw_wins.h" #include /* attri_t, chtype */ +#include /* NULL */ #include /* uint8_t, uint16_t, uint32_t, int16_t */ #include /* for sprintf() */ #include /* free() */ diff --git a/src/client/keybindings.c b/src/client/keybindings.c index 7363535..500deec 100644 --- a/src/client/keybindings.c +++ b/src/client/keybindings.c @@ -2,6 +2,7 @@ #include "keybindings.h" #include /* keycode defines, cbreak(), halfdelay(), getch() */ +#include /* NULL */ #include /* FILE, sprintf(), snprintf() */ #include /* uint8_t, uint16_t, uint32_t */ #include /* free(), atoi() */ diff --git a/src/client/wincontrol.c b/src/client/wincontrol.c index b241eba..5e818ba 100644 --- a/src/client/wincontrol.c +++ b/src/client/wincontrol.c @@ -3,6 +3,7 @@ #include "wincontrol.h" #include /* global errno */ #include /* DIR, struct dirent, opendir(), closedir(), readdir() */ +#include /* NULL */ #include /* uint8_t, uint16_t, uint32_t */ #include /* FILE */ #include /* free(), atoi() */ diff --git a/src/client/windows.c b/src/client/windows.c index dcf450b..ff57399 100644 --- a/src/client/windows.c +++ b/src/client/windows.c @@ -1,6 +1,7 @@ /* src/client/windows.c */ #include "windows.h" +#include /* NULL */ #include /* uint8_t, uint16_t, uint32_t, UINT16_MAX */ #include /* sprintf() */ #include /* free() */ diff --git a/src/server/init.c b/src/server/init.c index f6b56a6..1644cee 100644 --- a/src/server/init.c +++ b/src/server/init.c @@ -1,6 +1,7 @@ /* src/server/init.c */ #include "init.h" +#include /* NULL */ #include /* uint32_t */ #include /* exit(), free() */ #include /* atoi() */ diff --git a/src/server/io.c b/src/server/io.c index 10fcd90..800f539 100644 --- a/src/server/io.c +++ b/src/server/io.c @@ -4,7 +4,7 @@ #include /* global errno */ #include /* open(), O_RDONLY, O_NONBLOCK */ #include /* PIPE_BUF */ -#include /* size_t */ +#include /* size_t, NULL */ #include /* uint8_t, uint16_t, uint32_t */ #include /* define FILE, sprintf() */ #include /* free() */ diff --git a/src/server/map_object_actions.c b/src/server/map_object_actions.c index 37e113c..b77ffb9 100644 --- a/src/server/map_object_actions.c +++ b/src/server/map_object_actions.c @@ -1,6 +1,7 @@ /* src/server/map_object_actions.c */ #include "map_object_actions.h" +#include /* NULL */ #include /* uint8_t, uint16_t */ #include /* sprintf() */ #include /* free(), atoi() */ diff --git a/src/server/map_objects.c b/src/server/map_objects.c index b114750..648631e 100644 --- a/src/server/map_objects.c +++ b/src/server/map_objects.c @@ -1,6 +1,7 @@ /* src/server/map_objects.c */ #include "map_objects.h" +#include /* NULL */ #include /* FILE typedef */ #include /* uint8_t, uint16_t */ #include /* free(), atoi() */ diff --git a/src/server/run.c b/src/server/run.c index 3be073a..540f025 100644 --- a/src/server/run.c +++ b/src/server/run.c @@ -1,6 +1,7 @@ /* src/server/run.c */ #include "run.h" +#include /* NULL */ #include /* uint8_t, uint16_t, uint32_t */ #include /* FILE, sprintf() */ #include /* free() */