]> sourceware.org Git - lvm2.git/commitdiff
Revert DEBUG_MEM cleanup commit
authorZdenek Kabelac <zkabelac@redhat.com>
Tue, 8 Feb 2011 15:52:00 +0000 (15:52 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Tue, 8 Feb 2011 15:52:00 +0000 (15:52 +0000)
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

index 5f06d1e277afc7accf31b46d12fe3e064712a815..db7f5f3ed77b21ffbfa34deffc9f38521edce036 100644 (file)
@@ -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)))
 {
This page took 0.038337 seconds and 5 git commands to generate.