aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1997-03-11 17:25:32 +0000
committerPeter Wemm <peter@FreeBSD.org>1997-03-11 17:25:32 +0000
commitbdb5b1dbdce534a5c68a442699b7fd434001e905 (patch)
treecab0caabd21b988f0913d835993c19e9b4d432ea /games
parent89cb27a3d41a1cf9e27355a444a97145562e0ea4 (diff)
downloadsrc-bdb5b1dbdce534a5c68a442699b7fd434001e905.tar.gz
src-bdb5b1dbdce534a5c68a442699b7fd434001e905.zip
Merge from Lite2 (oops, nearly forgot these ones)
Notes
Notes: svn path=/head/; revision=23726
Diffstat (limited to 'games')
-rw-r--r--games/factor/factor.c3
-rw-r--r--games/number/number.c5
-rw-r--r--games/primes/primes.c3
-rw-r--r--games/quiz/quiz.c9
4 files changed, 13 insertions, 7 deletions
diff --git a/games/factor/factor.c b/games/factor/factor.c
index 8edb2c1fed7e..92f7415369a1 100644
--- a/games/factor/factor.c
+++ b/games/factor/factor.c
@@ -41,7 +41,7 @@ static char copyright[] =
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)factor.c 8.3 (Berkeley) 3/30/94";
+static char sccsid[] = "@(#)factor.c 8.4 (Berkeley) 5/4/95";
#endif /* not lint */
/*
@@ -69,6 +69,7 @@ static char sccsid[] = "@(#)factor.c 8.3 (Berkeley) 3/30/94";
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
#include "primes.h"
diff --git a/games/number/number.c b/games/number/number.c
index 44cae3cd6fb0..cc7b85d11512 100644
--- a/games/number/number.c
+++ b/games/number/number.c
@@ -38,16 +38,17 @@ static char copyright[] =
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)number.c 8.2 (Berkeley) 3/31/94";
+static char sccsid[] = "@(#)number.c 8.3 (Berkeley) 5/4/95";
#endif /* not lint */
#include <sys/types.h>
#include <ctype.h>
+#include <err.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <err.h>
+#include <unistd.h>
#define MAXNUM 65 /* Biggest number we handle. */
diff --git a/games/primes/primes.c b/games/primes/primes.c
index a402be2df5a2..f174e9006f26 100644
--- a/games/primes/primes.c
+++ b/games/primes/primes.c
@@ -41,7 +41,7 @@ static char copyright[] =
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)primes.c 8.4 (Berkeley) 3/21/94";
+static char sccsid[] = "@(#)primes.c 8.5 (Berkeley) 5/10/95";
#endif /* not lint */
/*
@@ -69,6 +69,7 @@ static char sccsid[] = "@(#)primes.c 8.4 (Berkeley) 3/21/94";
#include <memory.h>
#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
#include "primes.h"
diff --git a/games/quiz/quiz.c b/games/quiz/quiz.c
index 25ee3ed5f544..de0393ef75a6 100644
--- a/games/quiz/quiz.c
+++ b/games/quiz/quiz.c
@@ -42,16 +42,19 @@ static char copyright[] =
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)quiz.c 8.2 (Berkeley) 1/3/94";
+static char sccsid[] = "@(#)quiz.c 8.3 (Berkeley) 5/4/95";
#endif /* not lint */
#include <sys/types.h>
+
+#include <ctype.h>
#include <errno.h>
-#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <ctype.h>
+#include <time.h>
+#include <unistd.h>
+
#include "quiz.h"
#include "pathnames.h"