diff options
author | Nihal Jere <nihal@nihaljere.xyz> | 2022-01-12 19:15:55 -0600 |
---|---|---|
committer | Nihal Jere <nihal@nihaljere.xyz> | 2022-01-12 19:15:55 -0600 |
commit | 7bb37678b6e00512366994f34ac4bc22aba12ddc (patch) | |
tree | cabebd423ee23c33b45dff76e403795f4382b267 | |
parent | https (diff) | |
download | siphash-7bb37678b6e00512366994f34ac4bc22aba12ddc.tar.gz siphash-7bb37678b6e00512366994f34ac4bc22aba12ddc.tar.xz |
only include stdio when used
Diffstat (limited to '')
-rw-r--r-- | halfsiphash.c | 3 | ||||
-rw-r--r-- | siphash.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/halfsiphash.c b/halfsiphash.c index a2f5876..dacfc8e 100644 --- a/halfsiphash.c +++ b/halfsiphash.c @@ -15,8 +15,8 @@ */ #include "halfsiphash.h" #include <assert.h> +#include <stddef.h> #include <stdint.h> -#include <stdio.h> /* default: SipHash-2-4 */ #ifndef cROUNDS @@ -57,6 +57,7 @@ } while (0) #ifdef DEBUG +#include <stdio.h> #define TRACE \ do { \ printf("(%3zu) v0 %08" PRIx32 "\n", inlen, v0); \ @@ -17,8 +17,8 @@ #include "siphash.h" #include <assert.h> +#include <stddef.h> #include <stdint.h> -#include <stdio.h> /* default: SipHash-2-4 */ #ifndef cROUNDS @@ -65,6 +65,7 @@ } while (0) #ifdef DEBUG +#include <stdio.h> #define TRACE \ do { \ printf("(%3zu) v0 %016" PRIx64 "\n", inlen, v0); \ |