]> mj.ucw.cz Git - netgrind.git/blobdiff - lib/lib.h
Flow parsing, try 0.
[netgrind.git] / lib / lib.h
index 13c07d62c571ae31a85cddc7445393c7a1f197d4..84d13aeec685470ba7cf7e808feab2c61405d5ad 100644 (file)
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -50,7 +50,7 @@ void assert_failed(void) NONRET;
 #endif
 
 #ifdef LOCAL_DEBUG
-#define DBG(x,y...) log(L_DEBUG, x,##y)
+#define DBG(x,y...) printf(x,##y)
 #else
 #define DBG(x,y...) do { } while(0)
 #endif
@@ -83,4 +83,9 @@ void *xrealloc(void *, unsigned);
 void *xmalloc_zero(unsigned);
 byte *stralloc(byte *);
 
+/* prime.c */
+
+int isprime(uns);
+uns nextprime(uns);
+
 #endif