aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1997-03-11 14:39:26 +0000
committerPeter Wemm <peter@FreeBSD.org>1997-03-11 14:39:26 +0000
commit4b03b7b92fe23f3bc31d6829ae1229817a088eb0 (patch)
tree1565ff5e40c70ad73885d9432d79db83ade2ebeb /games
parentb7ecd01cb04fa4c591548be656879748b1b21968 (diff)
downloadsrc-4b03b7b92fe23f3bc31d6829ae1229817a088eb0.tar.gz
src-4b03b7b92fe23f3bc31d6829ae1229817a088eb0.zip
Import some CSRG 4.4BSD-Lite2 games
Notes
Notes: svn path=/vendor/games/dist/; revision=23704
Diffstat (limited to 'games')
-rw-r--r--games/factor/Makefile2
-rw-r--r--games/number/Makefile2
-rw-r--r--games/pig/Makefile2
-rw-r--r--games/pig/pig.c3
4 files changed, 5 insertions, 4 deletions
diff --git a/games/factor/Makefile b/games/factor/Makefile
index 0189952de361..b82f09eb9418 100644
--- a/games/factor/Makefile
+++ b/games/factor/Makefile
@@ -3,7 +3,7 @@
PROG= factor
SRCS= factor.c pr_tbl.c
CFLAGS+=-I${.CURDIR}/../primes
-MAN6= factor.6
+MAN6= factor.0
MLINKS+=factor.6 primes.6
.PATH: ${.CURDIR}/../primes
diff --git a/games/number/Makefile b/games/number/Makefile
index dd18edb39a3f..466f666e9226 100644
--- a/games/number/Makefile
+++ b/games/number/Makefile
@@ -1,6 +1,6 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= number
-MAN6= number.6
+MAN6= number.0
.include <bsd.prog.mk>
diff --git a/games/pig/Makefile b/games/pig/Makefile
index f1ab5834e3c3..60f6b24c0917 100644
--- a/games/pig/Makefile
+++ b/games/pig/Makefile
@@ -1,6 +1,6 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= pig
-MAN6= pig.6
+MAN6= pig.0
.include <bsd.prog.mk>
diff --git a/games/pig/pig.c b/games/pig/pig.c
index 3fbd514bfef5..b2f9112c958b 100644
--- a/games/pig/pig.c
+++ b/games/pig/pig.c
@@ -38,7 +38,7 @@ static char copyright[] =
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)pig.c 8.1 (Berkeley) 5/31/93";
+static char sccsid[] = "@(#)pig.c 8.2 (Berkeley) 5/4/95";
#endif /* not lint */
#include <sys/types.h>
@@ -47,6 +47,7 @@ static char sccsid[] = "@(#)pig.c 8.1 (Berkeley) 5/31/93";
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
void pigout __P((char *, int));
void usage __P((void));