summaryrefslogtreecommitdiffstats
path: root/games/primes
diff options
context:
space:
mode:
Diffstat (limited to 'games/primes')
-rw-r--r--games/primes/pr_tbl.c3
-rw-r--r--games/primes/primes.c4
2 files changed, 3 insertions, 4 deletions
diff --git a/games/primes/pr_tbl.c b/games/primes/pr_tbl.c
index fc0bed2aece..a46dd255934 100644
--- a/games/primes/pr_tbl.c
+++ b/games/primes/pr_tbl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pr_tbl.c,v 1.5 2009/10/27 23:59:26 deraadt Exp $ */
+/* $OpenBSD: pr_tbl.c,v 1.6 2016/01/04 11:58:35 mestre Exp $ */
/* $NetBSD: pr_tbl.c,v 1.3 1995/03/23 08:35:52 cgd Exp $ */
/*
@@ -45,6 +45,7 @@
*/
#include <sys/types.h>
+
#include "primes.h"
const ubig prime[] = {
diff --git a/games/primes/primes.c b/games/primes/primes.c
index 148ddb2359e..1867220bd6a 100644
--- a/games/primes/primes.c
+++ b/games/primes/primes.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: primes.c,v 1.19 2015/12/25 20:59:09 mestre Exp $ */
+/* $OpenBSD: primes.c,v 1.20 2016/01/04 11:58:35 mestre Exp $ */
/* $NetBSD: primes.c,v 1.5 1995/04/24 12:24:47 cgd Exp $ */
/*
@@ -50,11 +50,9 @@
* validation check: there are 664579 primes between 0 and 10^7
*/
-#include <sys/types.h>
#include <ctype.h>
#include <err.h>
#include <errno.h>
-#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>