aboutsummaryrefslogtreecommitdiff
path: root/test/test_framework.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_framework.h')
-rw-r--r--test/test_framework.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_framework.h b/test/test_framework.h
index 327de00..3323190 100644
--- a/test/test_framework.h
+++ b/test/test_framework.h
@@ -1,5 +1,7 @@
#pragma once
+#include <stdio.h>
+
#define TEST(name) testfn__ ## name
@@ -23,3 +25,5 @@ void test_report_error(
return (ret_); \
} \
} while (0)
+
+void print_buffer(FILE *stream, const void *buffer, size_t length);