Supply prototypes where possible. This uncovered type errors with
thread entrypoints: (lwpSelect, shutdown_sequence): Parameters didn't match thread entry point prototype. (lwpEntryPoint): Arguments didn't match thread entry point prototype. Change linkage of functions without prototype declaration to static where possible. Remove some superflous declarations, replace others by suitable includes.
This commit is contained in:
parent
7dbb87b0e0
commit
237baffca9
108 changed files with 505 additions and 877 deletions
|
@ -165,14 +165,10 @@ 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 sqrt();
|
||||
double logx();
|
||||
|
||||
float pln_damage_sect();
|
||||
double logx(double d, double base);
|
||||
|
||||
void count_planes();
|
||||
double sqrt();
|
||||
s_char *prplane();
|
||||
s_char *prplane(struct plnstr *pp);
|
||||
|
||||
|
||||
/* src/lib/subs/aircombat.c */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue