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
|
@ -41,14 +41,13 @@
|
|||
|
||||
empth_sem_t *update_sem;
|
||||
|
||||
extern void update_main();
|
||||
extern void update_wait();
|
||||
extern void update_main(void *);
|
||||
extern void update_wait(void *argv);
|
||||
time_t update_time;
|
||||
|
||||
/*ARGSUSED*/
|
||||
void
|
||||
update_sched(argv)
|
||||
void *argv;
|
||||
update_sched(void *argv)
|
||||
{
|
||||
extern int s_p_etu;
|
||||
extern int etu_per_update;
|
||||
|
@ -110,8 +109,7 @@ void *argv;
|
|||
|
||||
/*ARGSUSED*/
|
||||
void
|
||||
update_wait(argv)
|
||||
void *argv;
|
||||
update_wait(void *argv)
|
||||
{
|
||||
struct player *p;
|
||||
int running;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue