diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-01-15 23:04:50 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-01-15 23:04:50 +0000 |
commit | a625ccde699a5e9cbc240071ba47587c1c873cec (patch) | |
tree | 3facac8b2cc100e5448f43a61764fbc364115f8c /c | |
parent | updates from Tony Bennett for PA and UNIX ports (diff) | |
download | rtems-a625ccde699a5e9cbc240071ba47587c1c873cec.tar.bz2 |
Made real body of _Heap_Walk conditional on RTEMS_DEBUG. This is necessary
to be able to build a system without requiring printf.
Diffstat (limited to 'c')
-rw-r--r-- | c/src/exec/score/src/heap.c | 13 |
1 files changed, 13 insertions, 0 deletions
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 <stdio.h> #include <unistd.h> @@ -522,3 +534,4 @@ void _Heap_Walk( if (error) abort(); } +#endif |