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

@ -31,10 +31,10 @@
* Ville Virrankoski, 1995
*/
void fill_update_array();
int *get_wp();
int gt_bg_nmbr();
void pt_bg_nmbr();
void get_materials();
void fill_update_array(int *bp, struct sctstr *sp);
int *get_wp(int *bp, struct sctstr *sp, int cm);
int gt_bg_nmbr(int *bp, struct sctstr *sp, int comm);
void pt_bg_nmbr(int *bp, struct sctstr *sp, int comm, int amount);
void get_materials(struct sctstr *sp, int *bp, int *mvec, int check);
extern int mil_dbl_pay;