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
This commit is contained in:
Axel Dörfler 2003-09-11 17:30:12 +00:00
parent 572edf3377
commit 81b8b661c1

View File

@ -8,7 +8,9 @@
#include <boot/platform.h>
#include <util/kernel_cpp.h>
#include <stdio.h>
#ifdef HEAP_TEST
# include <stdio.h>
#endif
#include <stdlib.h>
#include <string.h>
@ -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)