Clean up after removal of wait command:
(player_wakeup_all, player_wakeup): Remove. Callers changed. (player): Remove member waiting.
This commit is contained in:
parent
fcef921437
commit
3788676530
5 changed files with 2 additions and 29 deletions
|
@ -163,22 +163,6 @@ getplayer(natid cnum)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
void
|
||||
player_wakeup_all(natid cnum)
|
||||
{
|
||||
struct player *lp;
|
||||
|
||||
if (NULL != (lp = getplayer(cnum)))
|
||||
player_wakeup(lp);
|
||||
}
|
||||
|
||||
void
|
||||
player_wakeup(struct player *pl)
|
||||
{
|
||||
if (pl->waiting)
|
||||
empth_wakeup(pl->proc);
|
||||
}
|
||||
|
||||
/*ARGSUSED*/
|
||||
void
|
||||
player_accept(void *unused)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue