]> mj.ucw.cz Git - libucw.git/blobdiff - lib/prime.c
sign mismatch fixed
[libucw.git] / lib / prime.c
index 877442dad8dfa973df4dfb1522413b5becf8da0c..56bcc87ef050573467861b416523a150718fdc3c 100644 (file)
@@ -1,12 +1,9 @@
 /*
  *     Sherlock Library -- Prime Number Tests
  *
- *     (c) 1997 Martin Mares, <mj@atrey.karlin.mff.cuni.cz>
+ *     (c) 1997 Martin Mares <mj@ucw.cz>
  */
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "lib/lib.h"
 
 static int                             /* Sequential search */
@@ -61,7 +58,9 @@ nextprime(uns x)                      /* Returns some prime greater than X, usually the next one or
     }
 }
 
-#ifdef PRIME_DEBUG
+#ifdef TEST
+
+#include <stdio.h>
 
 int
 main(int argc, char **argv)