Add #include string.h to get prototypes.
This commit is contained in:
parent
a0acd2442a
commit
39c469541a
@ -96,6 +96,7 @@ static char sccsid[] = "@(#)move.c 8.1 (Berkeley) 7/19/93";
|
||||
#else
|
||||
#include <varargs.h>
|
||||
#endif
|
||||
#include <string.h>
|
||||
#include "snake.h"
|
||||
|
||||
int CMlength;
|
||||
|
@ -45,6 +45,7 @@ static char sccsid[] = "@(#)snscore.c 8.1 (Berkeley) 7/19/93";
|
||||
#include <pwd.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "pathnames.h"
|
||||
|
||||
char *recfile = _PATH_RAWSCORES;
|
||||
|
@ -55,6 +55,7 @@ static char sccsid[] = "@(#)wump.c 8.1 (Berkeley) 5/31/93";
|
||||
#include <sys/file.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "pathnames.h"
|
||||
|
||||
/* some defines to spec out what our wumpus cave should look like */
|
||||
|
Loading…
Reference in New Issue
Block a user