btstack_memory: fix test_malloc signature

This commit is contained in:
Matthias Ringwald 2022-03-11 21:32:26 +01:00
parent 4902524cc6
commit 4490dd1dca
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@
#include <stdlib.h>
#ifdef ENABLE_MALLOC_TEST
extern "C" void * test_malloc(size_t size);
void * test_malloc(size_t size);
#define malloc test_malloc
#endif

View File

@ -139,7 +139,7 @@ cfile_header_begin = """
#include <stdlib.h>
#ifdef ENABLE_MALLOC_TEST
extern "C" void * test_malloc(size_t size);
void * test_malloc(size_t size);
#define malloc test_malloc
#endif