diff --git a/src/kernel/build.h b/src/kernel/build.h index 7780a6cd2..b09dd8332 100644 --- a/src/kernel/build.h +++ b/src/kernel/build.h @@ -32,8 +32,6 @@ extern "C" { * wichtig */ - struct xml_tag; - typedef struct requirement { const struct resource_type *rtype; int number; @@ -63,8 +61,8 @@ extern "C" { } construction; void free_construction(struct construction *cons); - extern int destroy_cmd(struct unit *u, struct order *ord); - extern int leave_cmd(struct unit *u, struct order *ord); + int destroy_cmd(struct unit *u, struct order *ord); + int leave_cmd(struct unit *u, struct order *ord); void build_road(struct unit *u, int size, direction_t d); void create_ship(struct unit *u, const struct ship_type *newtype, @@ -74,16 +72,15 @@ extern "C" { struct building *getbuilding(const struct region *r); struct ship *getship(const struct region *r); - void reportevent(struct region *r, char *s); - void shash(struct ship *sh); void sunhash(struct ship *sh); - extern int roqf_factor(void); + int roqf_factor(void); int build(struct unit *u, const construction * ctype, int completed, int want); - extern int maxbuild(const struct unit *u, const construction * cons); - extern struct message *msg_materials_required(struct unit *u, - struct order *ord, const struct construction *ctype, int multi); + int maxbuild(const struct unit *u, const construction * cons); + struct message *msg_materials_required(struct unit *u, struct order *ord, + const struct construction *ctype, int multi); + /** error messages that build may return: */ #define ELOWSKILL -1 #define ENEEDSKILL -2