home · contact · privacy
Server: Remove unneeded library includes.
authorChristian Heller <c.heller@plomlompom.de>
Fri, 22 Aug 2014 00:01:01 +0000 (02:01 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Fri, 22 Aug 2014 00:01:01 +0000 (02:01 +0200)
src/server/field_of_view.c
src/server/map.c
src/server/map.h
src/server/thing_actions.c
src/server/things.h
src/server/yx_uint8.h

index b4303970cdee2bcb283ed223aa5a6832f3ca0cb2..3d86402fe3c4f60aebc355e41c7e994271daf95a 100644 (file)
@@ -6,9 +6,10 @@
 #include <string.h> /* memset() */
 #include "../common/rexit.h" /* exit_trouble() */
 #include "../common/try_malloc.h" /* try_malloc() */
+#include "../common/yx_uint8.h" /* yx_uint8 */
 #include "map.h" /* mv_yx_in_dir_legal() */
 #include "things.h" /* Thing, ThingInMemory, add_thing_to_memory_map() */
-#include "yx_uint8.h" /* yx_uint8, mv_yx_in_hex_dir(), mv_yx_in_dir_wrap(), */
+#include "yx_uint8.h" /* mv_yx_in_dir_wrap(), */
 #include "world.h" /* world  */
 
 
index d98a61f28813730e33388fe48f42b7ec3ff7391b..ae907d2327363fef50919575440a27a6a094a702 100644 (file)
@@ -5,7 +5,7 @@
 #include <stdlib.h> /* free() */
 #include "../common/rexit.h" /* exit_err() */
 #include "../common/try_malloc.h" /* try_malloc() */
-#include "../common/yx_uint8.h" /* struct yx_uint8 */
+#include "../common/yx_uint8.h" /* yx_uint8 */
 #include "rrand.h" /* rrand() */
 #include "yx_uint8.h" /* mv_yx_in_dir_wrap() */
 #include "world.h" /* global world */
index 5407dafe34942b65f0ce6a1b6570b38baa8b4771..d704bc27ba81c15144d4ac31e382aa5171c5dbcc 100644 (file)
@@ -7,7 +7,7 @@
 #define MAP_H_SERVER
 
 #include <stdint.h> /* uint8_t */
-#include "../common/yx_uint8.h" /* yx_uint8 */
+struct yx_uint8;
 
 
 
index 627235c7b04728adc0b47ea90ec9c9ade9da26ec..df516e45864f2c076b4fd162eec2f96400f1713d 100644 (file)
@@ -8,7 +8,7 @@
 #include <string.h> /* strlen(), memcpy(), strncmp() */
 #include "../common/rexit.h" /* exit_trouble() */
 #include "../common/try_malloc.h" /* try_malloc() */
-#include "../common/yx_uint8.h" /* struct yx_uint8 */
+#include "../common/yx_uint8.h" /* yx_uint8 */
 #include "field_of_view.h" /* build_fov_map() */
 #include "hardcoded_strings.h" /* s */
 #include "things.h" /* Thing, ThingType, get_player(), own_thing(),
index d5ac7ef1556a3c26c8ea68dc55647f8b08b67906..d87bee8de7a1bff851225032262bdf5fb0f3cf95 100644 (file)
@@ -8,7 +8,7 @@
 #define THINGS_H
 
 #include <stdint.h> /* uint8_t, int16_t */
-#include "../common/yx_uint8.h" /* yx_uint8 structs */
+#include "../common/yx_uint8.h" /* yx_uint8 */
 
 
 
index 4763f55a7247fd7c6a74dc918cf0e6809aad3142..54246fd9b7e7d4519d6f74686669dccdf4644295 100644 (file)
@@ -7,7 +7,7 @@
 #define YX_UINT8_H_SERVER
 
 #include <stdint.h> /* uint8_t */
-#include "../common/yx_uint8.h" /* yx_uint8 */
+struct yx_uint8;