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
|
@ -97,9 +97,6 @@ extern int att_fight(int, struct combat *, struct emp_qelem *, double,
|
|||
extern int att_free_lists(struct emp_qelem *, struct emp_qelem *);
|
||||
|
||||
|
||||
extern double att_asupport();
|
||||
extern double att_dsupport();
|
||||
extern double att_mine_dsupport();
|
||||
extern double combat_mob;
|
||||
extern s_char *att_mode[];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue