summaryrefslogtreecommitdiffstats
path: root/ossfuzz/testinput.h
diff options
context:
space:
mode:
Diffstat (limited to 'ossfuzz/testinput.h')
-rw-r--r--ossfuzz/testinput.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/ossfuzz/testinput.h b/ossfuzz/testinput.h
index 8da6215..0e50a3c 100644
--- a/ossfuzz/testinput.h
+++ b/ossfuzz/testinput.h
@@ -1,3 +1,15 @@
+#ifndef TESTINPUT_H_INCLUDED
+#define TESTINPUT_H_INCLUDED
+
#include <inttypes.h>
+#if defined (__cplusplus)
+extern "C" {
+#endif
+
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size);
+
+#if defined(__cplusplus)
+}
+#endif
+#endif