From 0aa1e2f6027ce3bf2b2e9729a15ba773b6d40307 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sat, 9 Feb 2013 19:27:16 +0100 Subject: [PATCH] mpools.c: disable non-portable mp_dump_memory_pool() function --- libmpools/mpools.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libmpools/mpools.c b/libmpools/mpools.c index 5203110..dbf94ad 100644 --- a/libmpools/mpools.c +++ b/libmpools/mpools.c @@ -312,6 +312,8 @@ mp_free_memory_pool(const char * pool_name /* ID-String of the memory pool. */ } +#if 0 + /* This routine is experimental and for debugging purposes only. In the current version, it will dump the contents of pool 'pool_name' to the screen, using printf(3). @@ -347,3 +349,5 @@ mp_dump_memory_pool(const char * pool_name /* ID-String of the memory pool. */ } printf("Total size of mpool \"%s\" is %u byte.\n", pool_name, total); } + +#endif