X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Flib.h;h=84d13aeec685470ba7cf7e808feab2c61405d5ad;hb=1afeb5295fb7b0824f628f5b9872d0dba1d71d46;hp=13c07d62c571ae31a85cddc7445393c7a1f197d4;hpb=d9201a8d4c5093f1c8fef6d736674e26ef0db25d;p=netgrind.git diff --git a/lib/lib.h b/lib/lib.h index 13c07d6..84d13ae 100644 --- 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