summaryrefslogtreecommitdiffstats
path: root/cpukit/score
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score')
-rw-r--r--cpukit/score/src/heap.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/cpukit/score/src/heap.c b/cpukit/score/src/heap.c
index bccd30ccc0..11d8a31cee 100644
--- a/cpukit/score/src/heap.c
+++ b/cpukit/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