From 4dc9b737de958b7a0ebd91db4583c20dfa46a5fa Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 9 Apr 2016 18:19:30 +0200 Subject: [PATCH] mark missing test files in CMakeLists.txt kill some dead code prototypes --- src/kernel/CMakeLists.txt | 7 +++++++ src/kernel/region.h | 4 ---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/kernel/CMakeLists.txt b/src/kernel/CMakeLists.txt index 2bd771b67..9e829d4f4 100644 --- a/src/kernel/CMakeLists.txt +++ b/src/kernel/CMakeLists.txt @@ -7,6 +7,7 @@ build.test.c building.test.c command.test.c config.test.c +# connection.test.c curse.test.c equipment.test.c faction.test.c @@ -14,15 +15,21 @@ group.test.c item.test.c messages.test.c order.test.c +# pathdinder.test.c plane.test.c pool.test.c race.test.c +# region.test.c +# resources.test.c save.test.c ship.test.c +# skills.test.c spellbook.test.c spell.test.c +# terrain.test.c unit.test.c jsonconf.test.c +# xmlreader.test.c ) SET(_FILES diff --git a/src/kernel/region.h b/src/kernel/region.h index 411fa5580..70d998a0e 100644 --- a/src/kernel/region.h +++ b/src/kernel/region.h @@ -168,7 +168,6 @@ extern "C" { extern struct attrib_type at_woodcount; extern struct attrib_type at_deathcount; - void initrhash(void); void rhash(struct region *r); void runhash(struct region *r); @@ -176,10 +175,7 @@ extern "C" { void add_regionlist(region_list ** rl, struct region *r); int deathcount(const struct region *r); - int chaoscount(const struct region *r); - void deathcounts(struct region *r, int delta); - void chaoscounts(struct region *r, int delta); void setluxuries(struct region *r, const struct luxury_type *sale); int get_maxluxuries(void);