diff --git a/games/mille/mille.c b/games/mille/mille.c index ccde9520a40b..e9789b4760bb 100644 --- a/games/mille/mille.c +++ b/games/mille/mille.c @@ -94,11 +94,7 @@ reg char *av[]; { leaveok(Score, TRUE); leaveok(Miles, TRUE); clearok(curscr, TRUE); -# ifndef PROF - srandom(getpid()); -# else - srandom(0); -# endif + srandomdev(); crmode(); noecho(); signal(SIGINT, rub); diff --git a/games/mille/mille.h b/games/mille/mille.h index 7d146b2338a1..49a7bd2d560c 100644 --- a/games/mille/mille.h +++ b/games/mille/mille.h @@ -37,6 +37,7 @@ # include # include # include +# include /* * @(#)mille.h 1.1 (Berkeley) 4/1/82 diff --git a/games/mille/roll.c b/games/mille/roll.c index 450092061d08..31ac766019de 100644 --- a/games/mille/roll.c +++ b/games/mille/roll.c @@ -48,7 +48,6 @@ roll(ndie, nsides) reg int ndie, nsides; { reg int tot; - extern unsigned int random(); tot = 0; while (ndie--)