aboutsummaryrefslogtreecommitdiff
path: root/halfsiphash.c
diff options
context:
space:
mode:
authorJean-Philippe Aumasson <jeanphilippe.aumasson@gmail.com>2022-01-14 05:39:31 +0100
committerGitHub <noreply@github.com>2022-01-14 05:39:31 +0100
commit2d7fc93b0fb705efa99b8603a2d22667fbee8830 (patch)
treecabebd423ee23c33b45dff76e403795f4382b267 /halfsiphash.c
parenthttps (diff)
parentonly include stdio when used (diff)
downloadsiphash-2d7fc93b0fb705efa99b8603a2d22667fbee8830.tar.gz
siphash-2d7fc93b0fb705efa99b8603a2d22667fbee8830.tar.xz
Merge pull request #40 from noocsharp/master
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); \