forked from Imagelibrary/rtems
libcsupport: Adjust malloc_walk() prototype
The header file <rtems/malloc.h> provides now also the malloc_walk() prototype. The malloc_walk() prototype reflects now the _Protected_heap_Walk() API. The return status helps to print only in case of an error.
This commit is contained in:
@@ -34,7 +34,7 @@ void RTEMS_Malloc_Initialize(
|
||||
);
|
||||
|
||||
extern void malloc_dump(void);
|
||||
extern void malloc_walk(size_t source, size_t printf_enabled);
|
||||
extern bool malloc_walk(int source, bool printf_enabled);
|
||||
void malloc_set_heap_pointer(Heap_Control *new_heap);
|
||||
Heap_Control *malloc_get_heap_pointer( void );
|
||||
extern void libc_init(void);
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
|
||||
#include <rtems.h>
|
||||
#include <rtems/bspIo.h>
|
||||
#include <rtems/libcsupport.h> /* for malloc_walk() */
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user