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
|
@ -165,10 +165,6 @@ struct shiplook {
|
|||
#define PLN_LOAD(b, t) (t ? (b * (logx((double)t, (double)50.0) < 1.0 ? 1.0 : \
|
||||
logx((double)t, (double)50.0))) : b)
|
||||
|
||||
double logx(double d, double base);
|
||||
|
||||
s_char *prplane(struct plnstr *pp);
|
||||
|
||||
|
||||
/* src/lib/subs/aircombat.c */
|
||||
extern void ac_planedamage(struct plist *, natid, int, natid, int,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue