mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-22 06:41:17 +00:00
btstack_memory: fix test_malloc signature
This commit is contained in:
parent
4902524cc6
commit
4490dd1dca
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user