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:
Joel Sherrill
1996-01-15 23:04:50 +00:00
parent c64e4ed482
commit a625ccde69
2 changed files with 26 additions and 0 deletions

View File

@@ -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