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
|
@ -43,7 +43,7 @@
|
|||
|
||||
/*ARGSUSED*/
|
||||
static void
|
||||
check_all_markets(void *argv)
|
||||
check_all_markets(void *unused)
|
||||
{
|
||||
player->proc = empth_self();
|
||||
player->cnum = 0;
|
||||
|
@ -67,7 +67,7 @@ check_all_markets(void *argv)
|
|||
|
||||
/*ARGSUSED*/
|
||||
void
|
||||
market_update(void *argv)
|
||||
market_update(void *unused)
|
||||
{
|
||||
time_t now;
|
||||
struct player *dp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue