summaryrefslogtreecommitdiff
path: root/libdm/mm
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2011-02-08 15:52:00 +0000
committerZdenek Kabelac <zkabelac@redhat.com>2011-02-08 15:52:00 +0000
commitd5e9ddaaee8b6c46a3058042112826438c90e87b (patch)
treefff04d9be654835bc00b429603315c6f929f5cf6 /libdm/mm
parent2fdd451b193f758d1835aa607f9953d973804527 (diff)
downloadlvm2-d5e9ddaaee8b6c46a3058042112826438c90e87b.tar.gz
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.
Diffstat (limited to 'libdm/mm')
-rw-r--r--libdm/mm/dbg_malloc.c4
1 files changed, 0 insertions, 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 <assert.h>
#include <stdarg.h>
@@ -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)))
{