Don't declare things in more than one place. Move some declarations
between headers. Code is now fully prototyped and compiles cleanly with gcc -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wredundant-decls. Closes #723788.
This commit is contained in:
parent
46da1aec7a
commit
c1be5d8657
18 changed files with 35 additions and 270 deletions
|
@ -228,7 +228,4 @@ extern int lnd_support(natid, natid, coord, coord);
|
|||
extern int lnd_can_attack(struct lndstr *);
|
||||
extern int lnd_fortify (struct lndstr *lp, int hard_amt);
|
||||
|
||||
void landdamage(struct lndstr *lp, int dam);
|
||||
s_char *prland(struct lndstr *lp);
|
||||
|
||||
#endif /* _LAND_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue