Add #include string.h to get prototypes.

This commit is contained in:
John Birrell 1998-05-09 10:23:10 +00:00
parent a0acd2442a
commit 39c469541a
3 changed files with 3 additions and 0 deletions

View File

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

View File

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

View File

@ -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 */