diff options
| author | Jean-Philippe Aumasson <jeanphilippe.aumasson@gmail.com> | 2022-01-14 05:39:31 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-14 05:39:31 +0100 |
| commit | 2d7fc93b0fb705efa99b8603a2d22667fbee8830 (patch) | |
| tree | cabebd423ee23c33b45dff76e403795f4382b267 | |
| parent | https (diff) | |
| parent | only include stdio when used (diff) | |
| download | siphash-2d7fc93b0fb705efa99b8603a2d22667fbee8830.tar.gz siphash-2d7fc93b0fb705efa99b8603a2d22667fbee8830.tar.xz | |
Merge pull request #40 from noocsharp/master
only include stdio when used
| -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); \ |
