summaryrefslogtreecommitdiffstats
path: root/tests/fuzztest/fuzz_syshdr.h
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2014-12-26 17:08:17 +0200
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2014-12-26 17:08:17 +0200
commit8a28b70351baf09f2131fee2fc186a96d069cc2e (patch)
treea07c1028965032ebe438f9c4e8585dcda4f6c386 /tests/fuzztest/fuzz_syshdr.h
parente5cbee84e12e87b342d7c57808b009387e1ba2bb (diff)
Move malloc_wrappers.c to tests/common
Diffstat (limited to 'tests/fuzztest/fuzz_syshdr.h')
-rw-r--r--tests/fuzztest/fuzz_syshdr.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/fuzztest/fuzz_syshdr.h b/tests/fuzztest/fuzz_syshdr.h
deleted file mode 100644
index d295d9ed..00000000
--- a/tests/fuzztest/fuzz_syshdr.h
+++ /dev/null
@@ -1,15 +0,0 @@
-/* This is just a wrapper in order to get our own malloc wrappers into nanopb core. */
-
-#define pb_realloc(ptr,size) counting_realloc(ptr,size)
-#define pb_free(ptr) counting_free(ptr)
-
-#ifdef PB_OLD_SYSHDR
-#include PB_OLD_SYSHDR
-#else
-#include <stdint.h>
-#include <stddef.h>
-#include <stdbool.h>
-#include <string.h>
-#endif
-
-#include <malloc_wrappers.h>