From 81b8b661c1ed8ea2140eb7ee58864c07959d013e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 11 Sep 2003 17:30:12 +0000 Subject: [PATCH] dump_chunk() is now only exported when HEAP_TEST is defined. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4618 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/boot/loader/heap.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/kernel/boot/loader/heap.cpp b/src/kernel/boot/loader/heap.cpp index 4ec61f6e62..ead368dca4 100644 --- a/src/kernel/boot/loader/heap.cpp +++ b/src/kernel/boot/loader/heap.cpp @@ -8,7 +8,9 @@ #include #include -#include +#ifdef HEAP_TEST +# include +#endif #include #include @@ -218,7 +220,7 @@ grow_heap(uint32 bytes) } #endif - +#ifdef HEAP_TEST void dump_chunks(void) { @@ -230,7 +232,7 @@ dump_chunks(void) chunk = chunk->next; } } - +#endif int32 heap_available(void)