forked from Imagelibrary/rtems
Made real body of _Heap_Walk conditional on RTEMS_DEBUG. This is necessary
to be able to build a system without requiring printf.
This commit is contained in:
@@ -418,6 +418,18 @@ boolean _Heap_Free(
|
||||
* Output parameters: NONE
|
||||
*/
|
||||
|
||||
#ifndef RTEMS_DEBUG
|
||||
|
||||
void _Heap_Walk(
|
||||
Heap_Control *the_heap,
|
||||
int source,
|
||||
boolean do_dump
|
||||
)
|
||||
{
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -522,3 +534,4 @@ void _Heap_Walk(
|
||||
if (error)
|
||||
abort();
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user