Import some CSRG 4.4BSD-Lite2 games

This commit is contained in:
Peter Wemm 1997-03-11 14:39:26 +00:00
parent b7ecd01cb0
commit 4b03b7b92f
4 changed files with 5 additions and 4 deletions

View File

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

View File

@ -1,6 +1,6 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= number
MAN6= number.6
MAN6= number.0
.include <bsd.prog.mk>

View File

@ -1,6 +1,6 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= pig
MAN6= pig.6
MAN6= pig.0
.include <bsd.prog.mk>

View File

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