diff options
Diffstat (limited to 'third_party/nanopb/tests/common/malloc_wrappers_syshdr.h')
-rw-r--r-- | third_party/nanopb/tests/common/malloc_wrappers_syshdr.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/third_party/nanopb/tests/common/malloc_wrappers_syshdr.h b/third_party/nanopb/tests/common/malloc_wrappers_syshdr.h deleted file mode 100644 index d295d9ed0b..0000000000 --- a/third_party/nanopb/tests/common/malloc_wrappers_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> |