home · contact · privacy
Included <stddef.h> were NULL was used.
[plomrogue] / src / server / map_objects.c
index 5b5bd975cbfe9d382c4313c36be51edc5221d222..648631e2723be79c8024fd85611cbee6f17ef494 100644 (file)
@@ -1,6 +1,7 @@
 /* src/server/map_objects.c */
 
 #include "map_objects.h"
+#include <stddef.h> /* NULL */
 #include <stdio.h> /* FILE typedef */
 #include <stdint.h> /* uint8_t, uint16_t */
 #include <stdlib.h> /* free(), atoi() */
@@ -48,7 +49,7 @@ static struct MapObj * get_map_object(struct MapObj * ptr, uint8_t id)
 
 
 
-static struct yx_uint16 find_passable_pos() // struct Map * map)
+static struct yx_uint16 find_passable_pos()
 {
     struct yx_uint16 pos;
     for (pos.y = pos.x = 0; 0 == is_passable(pos);)