From a625ccde699a5e9cbc240071ba47587c1c873cec Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 15 Jan 1996 23:04:50 +0000 Subject: Made real body of _Heap_Walk conditional on RTEMS_DEBUG. This is necessary to be able to build a system without requiring printf. --- c/src/exec/score/src/heap.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'c') diff --git a/c/src/exec/score/src/heap.c b/c/src/exec/score/src/heap.c index bccd30ccc0..11d8a31cee 100644 --- a/c/src/exec/score/src/heap.c +++ b/c/src/exec/score/src/heap.c @@ -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 #include @@ -522,3 +534,4 @@ void _Heap_Walk( if (error) abort(); } +#endif -- cgit v1.2.3