aboutsummaryrefslogtreecommitdiff
path: root/halfsiphash.c
diff options
context:
space:
mode:
authorNihal Jere <nihal@nihaljere.xyz>2022-01-12 19:15:55 -0600
committerNihal Jere <nihal@nihaljere.xyz>2022-01-12 19:15:55 -0600
commit7bb37678b6e00512366994f34ac4bc22aba12ddc (patch)
treecabebd423ee23c33b45dff76e403795f4382b267 /halfsiphash.c
parenthttps (diff)
downloadsiphash-7bb37678b6e00512366994f34ac4bc22aba12ddc.tar.gz
siphash-7bb37678b6e00512366994f34ac4bc22aba12ddc.tar.xz
only include stdio when used
Diffstat (limited to 'halfsiphash.c')
-rw-r--r--halfsiphash.c3
1 files changed, 2 insertions, 1 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); \