summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorwosch <wosch@FreeBSD.org>1996-03-13 23:38:21 +0000
committerwosch <wosch@FreeBSD.org>1996-03-13 23:38:21 +0000
commitf828ac71807435bfc1ac883b0d2b4b284027ef20 (patch)
treea5b933e07cd2f8f26535e68c7ce5f52236fdb031 /games
parent749c34926cbe5c13e3d419b53bf440a97ce3fc62 (diff)
downloadFreeBSD-src-f828ac71807435bfc1ac883b0d2b4b284027ef20.zip
FreeBSD-src-f828ac71807435bfc1ac883b0d2b4b284027ef20.tar.gz
add missing include files
Diffstat (limited to 'games')
-rw-r--r--games/adventure/done.c1
-rw-r--r--games/adventure/init.c2
-rw-r--r--games/adventure/io.c1
-rw-r--r--games/adventure/main.c1
-rw-r--r--games/adventure/save.c1
-rw-r--r--games/adventure/subr.c1
-rw-r--r--games/adventure/vocab.c1
-rw-r--r--games/adventure/wizard.c2
8 files changed, 10 insertions, 0 deletions
diff --git a/games/adventure/done.c b/games/adventure/done.c
index fd286fd..dcd8e33 100644
--- a/games/adventure/done.c
+++ b/games/adventure/done.c
@@ -42,6 +42,7 @@ static char sccsid[] = "@(#)done.c 8.1 (Berkeley) 5/31/93";
/* Re-coding of advent in C: termination routines */
+#include <stdio.h>
#include "hdr.h"
score() /* sort of like 20000 */
diff --git a/games/adventure/init.c b/games/adventure/init.c
index 137f3c8..8236c52 100644
--- a/games/adventure/init.c
+++ b/games/adventure/init.c
@@ -43,7 +43,9 @@ static char sccsid[] = "@(#)init.c 8.1 (Berkeley) 6/2/93";
/* Re-coding of advent in C: data initialization */
#include <sys/types.h>
+#include <signal.h>
#include <stdio.h>
+#include <stdlib.h>
#include "hdr.h"
int blklin = TRUE;
diff --git a/games/adventure/io.c b/games/adventure/io.c
index c6ae4fe..0f7bd3f 100644
--- a/games/adventure/io.c
+++ b/games/adventure/io.c
@@ -44,6 +44,7 @@ static char sccsid[] = "@(#)io.c 8.1 (Berkeley) 5/31/93";
#include "hdr.h"
#include <stdio.h>
+#include <stdlib.h>
getin(wrd1,wrd2) /* get command from user */
diff --git a/games/adventure/main.c b/games/adventure/main.c
index 6de4c37..89629df 100644
--- a/games/adventure/main.c
+++ b/games/adventure/main.c
@@ -49,6 +49,7 @@ static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/2/93";
/* Re-coding of advent in C: main program */
#include <sys/file.h>
+#include <signal.h>
#include <stdio.h>
#include "hdr.h"
diff --git a/games/adventure/save.c b/games/adventure/save.c
index 8dea684..6501fbd 100644
--- a/games/adventure/save.c
+++ b/games/adventure/save.c
@@ -41,6 +41,7 @@ static char sccsid[] = "@(#)save.c 8.1 (Berkeley) 5/31/93";
#endif /* not lint */
#include <stdio.h>
+#include <stdlib.h>
#include "hdr.h"
struct savestruct
diff --git a/games/adventure/subr.c b/games/adventure/subr.c
index 3e2ef7b..d723512 100644
--- a/games/adventure/subr.c
+++ b/games/adventure/subr.c
@@ -42,6 +42,7 @@ static char sccsid[] = "@(#)subr.c 8.1 (Berkeley) 5/31/93";
/* Re-coding of advent in C: subroutines from main */
+#include <stdio.h>
# include "hdr.h"
/* Statement functions */
diff --git a/games/adventure/vocab.c b/games/adventure/vocab.c
index d060433..f5cfb3a 100644
--- a/games/adventure/vocab.c
+++ b/games/adventure/vocab.c
@@ -42,6 +42,7 @@ static char sccsid[] = "@(#)vocab.c 8.1 (Berkeley) 5/31/93";
/* Re-coding of advent in C: data structure routines */
+#include <stdio.h>
# include "hdr.h"
dstroy(object)
diff --git a/games/adventure/wizard.c b/games/adventure/wizard.c
index 4eaf055..0a18e26 100644
--- a/games/adventure/wizard.c
+++ b/games/adventure/wizard.c
@@ -42,6 +42,8 @@ static char sccsid[] = "@(#)wizard.c 8.1 (Berkeley) 6/2/93";
/* Re-coding of advent in C: privileged operations */
+#include <sys/types.h>
+#include <stdio.h>
# include "hdr.h"
datime(d,t)
OpenPOWER on IntegriCloud