summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-03-11 17:25:32 +0000
committerpeter <peter@FreeBSD.org>1997-03-11 17:25:32 +0000
commit4f07d6ce625a97531c8982938b64c561f5773a51 (patch)
treefc4e24c75f82603639c30175a8d49b608e16f049 /games
parent77939b5758e3e63b946db8eadad00eb5c1d843cd (diff)
downloadFreeBSD-src-4f07d6ce625a97531c8982938b64c561f5773a51.zip
FreeBSD-src-4f07d6ce625a97531c8982938b64c561f5773a51.tar.gz
Merge from Lite2 (oops, nearly forgot these ones)
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 8edb2c1..92f7415 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 44cae3c..cc7b85d 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 a402be2..f174e90 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 25ee3ed..de0393e 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"
OpenPOWER on IntegriCloud