Root/bsd-games/patches/002-primes.patch

1diff -u bsd-games-2.17/primes/pattern.c bsd-games-2.17-p/primes/pattern.c
2--- bsd-games-2.17/primes/pattern.c 2003-12-17 05:47:37.000000000 +0300
3+++ bsd-games-2.17-p/primes/pattern.c 2010-07-27 09:07:23.122817978 +0400
4@@ -33,13 +33,13 @@
5  */
6 
7 #include <sys/cdefs.h>
8-#ifndef lint
9+/*#ifndef lint
10 #if 0
11 static char sccsid[] = "@(#)pattern.c 8.1 (Berkeley) 5/31/93";
12 #else
13 __RCSID("$NetBSD: pattern.c,v 1.6 2003/08/07 09:37:33 agc Exp $");
14 #endif
15-#endif /* not lint */
16+#endif */ /* not lint */
17 
18 /*
19  * pattern - the Eratosthenes sieve on odd numbers for 3,5,7,11 and 13
20diff -u bsd-games-2.17/primes/primes.c bsd-games-2.17-p/primes/primes.c
21--- bsd-games-2.17/primes/primes.c 2004-01-27 23:52:07.000000000 +0300
22+++ bsd-games-2.17-p/primes/primes.c 2010-07-27 09:07:52.303319233 +0400
23@@ -33,18 +33,18 @@
24  */
25 
26 #include <sys/cdefs.h>
27-#ifndef lint
28+/*#ifndef lint
29 __COPYRIGHT("@(#) Copyright (c) 1989, 1993\n\
30     The Regents of the University of California. All rights reserved.\n");
31-#endif /* not lint */
32+#endif */ /* not lint */
33 
34-#ifndef lint
35+/*#ifndef lint
36 #if 0
37 static char sccsid[] = "@(#)primes.c 8.5 (Berkeley) 5/10/95";
38 #else
39 __RCSID("$NetBSD: primes.c,v 1.12 2004/01/27 20:30:30 jsm Exp $");
40 #endif
41-#endif /* not lint */
42+#endif */ /* not lint */
43 
44 /*
45  * primes - generate a table of primes between two values
46diff -u bsd-games-2.17/primes/pr_tbl.c bsd-games-2.17-p/primes/pr_tbl.c
47--- bsd-games-2.17/primes/pr_tbl.c 2003-12-17 05:47:37.000000000 +0300
48+++ bsd-games-2.17-p/primes/pr_tbl.c 2010-07-27 09:08:15.198301714 +0400
49@@ -33,13 +33,13 @@
50  */
51 
52 #include <sys/cdefs.h>
53-#ifndef lint
54+/* #ifndef lint
55 #if 0
56 static char sccsid[] = "@(#)pr_tbl.c 8.1 (Berkeley) 5/31/93";
57 #else
58 __RCSID("$NetBSD: pr_tbl.c,v 1.7 2003/08/07 09:37:33 agc Exp $");
59 #endif
60-#endif /* not lint */
61+#endif */ /* not lint */
62 
63 /*
64  * prime - prime table
65

Archive Download this file



interactive