The (unused) parameter of thread entry points is named `argv', but the
argument is actually the value of global variable `player'. Rename to `unused'.
This commit is contained in:
parent
14e0060a61
commit
b4a7d9f022
8 changed files with 11 additions and 11 deletions
|
@ -42,12 +42,12 @@
|
|||
|
||||
empth_sem_t *update_sem;
|
||||
|
||||
static void update_wait(void *argv);
|
||||
static void update_wait(void *unused);
|
||||
time_t update_time;
|
||||
|
||||
/*ARGSUSED*/
|
||||
void
|
||||
update_sched(void *argv)
|
||||
update_sched(void *unused)
|
||||
{
|
||||
s_char *kw;
|
||||
int hour[2];
|
||||
|
@ -105,7 +105,7 @@ update_sched(void *argv)
|
|||
|
||||
/*ARGSUSED*/
|
||||
static void
|
||||
update_wait(void *argv)
|
||||
update_wait(void *unused)
|
||||
{
|
||||
struct player *p;
|
||||
int running;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue