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:
Markus Armbruster 2004-02-17 17:59:30 +00:00
parent 7dbb87b0e0
commit 237baffca9
108 changed files with 505 additions and 877 deletions

View file

@ -72,10 +72,7 @@ extern int chkpath(natid, s_char *, coord, coord);
extern void pathrange(register coord, register coord, register s_char *,
int, struct range *);
extern s_char *masktopath();
extern long pathtomask();
extern double sector_mcost();
extern double sector_mcost(struct sctstr *sp, int do_bonus);
#define P_NONE 0 /* NO destinations allowed */
#define P_WALKING 1 /* use BestLandPath, only owned */