From e50dfbf42bd4b3bb8a8fecd5eb3bbbeaa81617b9 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Tue, 15 Nov 2016 23:56:39 +0100 Subject: [PATCH] fix terrains.json, reduce config.h use --- conf/e3/terrains.json | 2 +- src/races/dragons.c | 1 - src/races/illusion.c | 1 - src/races/races.c | 1 - src/races/races.h | 1 + src/races/zombies.c | 2 +- 6 files changed, 3 insertions(+), 5 deletions(-) diff --git a/conf/e3/terrains.json b/conf/e3/terrains.json index 5aa876950..ee0eb0e37 100644 --- a/conf/e3/terrains.json +++ b/conf/e3/terrains.json @@ -222,6 +222,6 @@ "div": "100" } } - }, + } } } diff --git a/src/races/dragons.c b/src/races/dragons.c index 828e68c64..222d63c89 100644 --- a/src/races/dragons.c +++ b/src/races/dragons.c @@ -13,7 +13,6 @@ */ #include -#include /* kernel includes */ #include diff --git a/src/races/illusion.c b/src/races/illusion.c index e2a05cfd3..7411ae4d5 100644 --- a/src/races/illusion.c +++ b/src/races/illusion.c @@ -11,7 +11,6 @@ */ #include -#include /* kernel includes */ #include diff --git a/src/races/races.c b/src/races/races.c index 68b3c5ae2..2c6cfffa9 100644 --- a/src/races/races.c +++ b/src/races/races.c @@ -9,7 +9,6 @@ */ #include -#include #include "races.h" #include diff --git a/src/races/races.h b/src/races/races.h index c0a516430..ea7be1337 100644 --- a/src/races/races.h +++ b/src/races/races.h @@ -14,6 +14,7 @@ #ifdef __cplusplus extern "C" { #endif + struct unit; void register_races(void); void make_undead_unit(struct unit *); diff --git a/src/races/zombies.c b/src/races/zombies.c index d86074d26..ab4c89988 100644 --- a/src/races/zombies.c +++ b/src/races/zombies.c @@ -13,9 +13,9 @@ */ #include -#include /* kernel includes */ +#include #include #include #include