From d5e9ddaaee8b6c46a3058042112826438c90e87b Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Tue, 8 Feb 2011 15:52:00 +0000 Subject: [PATCH] Revert DEBUG_MEM cleanup commit As functions compiled within this define are apparently stil part of the public API, (though lvm2 code is never using them unless this define is used for compilation), keep functions available in the code for now -> revert. --- libdm/mm/dbg_malloc.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libdm/mm/dbg_malloc.c b/libdm/mm/dbg_malloc.c index 5f06d1e27..db7f5f3ed 100644 --- a/libdm/mm/dbg_malloc.c +++ b/libdm/mm/dbg_malloc.c @@ -15,8 +15,6 @@ #include "dmlib.h" -#ifdef DEBUG_MEM - #include #include @@ -251,8 +249,6 @@ void dm_bounds_check_debug(void) } } -#endif - void *dm_malloc_aux(size_t s, const char *file __attribute__((unused)), int line __attribute__((unused))) {