Clean up after removal of wait command:

(player_wakeup_all, player_wakeup): Remove.  Callers changed.
(player): Remove member waiting.
This commit is contained in:
Markus Armbruster 2007-01-31 06:08:39 +00:00
parent fcef921437
commit 3788676530
5 changed files with 2 additions and 29 deletions

View file

@ -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)