summaryrefslogtreecommitdiffstats
path: root/primes
diff options
context:
space:
mode:
authortls <tls@NetBSD.org>1997-01-07 12:24:57 +0000
committertls <tls@NetBSD.org>1997-01-07 12:24:57 +0000
commit7d7d6944ed7bfda61b00d6c4463531ff5b92199b (patch)
tree367c6e6e3e56e8beab9a04899ce404a4f348c892 /primes
parent1ba319c5714af32ed91f3c11e1bdd1440cc90b8a (diff)
downloadbsdgames-darwin-7d7d6944ed7bfda61b00d6c4463531ff5b92199b.tar.gz
bsdgames-darwin-7d7d6944ed7bfda61b00d6c4463531ff5b92199b.tar.zst
bsdgames-darwin-7d7d6944ed7bfda61b00d6c4463531ff5b92199b.zip
Sync to 4.4BSD-Lite2
Diffstat (limited to 'primes')
-rw-r--r--primes/primes.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/primes/primes.c b/primes/primes.c
index 868d994f..1390e66a 100644
--- a/primes/primes.c
+++ b/primes/primes.c
@@ -1,4 +1,4 @@
-/* $NetBSD: primes.c,v 1.5 1995/04/24 12:24:47 cgd Exp $ */
+/* $NetBSD: primes.c,v 1.6 1997/01/07 12:24:57 tls Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -44,9 +44,9 @@ static char copyright[] =
#ifndef lint
#if 0
-static char sccsid[] = "@(#)primes.c 8.4 (Berkeley) 3/21/94";
+static char sccsid[] = "@(#)primes.c 8.5 (Berkeley) 5/10/95";
#else
-static char rcsid[] = "$NetBSD: primes.c,v 1.5 1995/04/24 12:24:47 cgd Exp $";
+static char rcsid[] = "$NetBSD: primes.c,v 1.6 1997/01/07 12:24:57 tls Exp $";
#endif
#endif /* not lint */
@@ -75,6 +75,7 @@ static char rcsid[] = "$NetBSD: primes.c,v 1.5 1995/04/24 12:24:47 cgd Exp $";
#include <memory.h>
#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
#include "primes.h"