]> sourceware.org Git - dm.git/commitdiff
more debug fixes
authorAlasdair Kergon <agk@redhat.com>
Fri, 11 Nov 2005 16:16:37 +0000 (16:16 +0000)
committerAlasdair Kergon <agk@redhat.com>
Fri, 11 Nov 2005 16:16:37 +0000 (16:16 +0000)
lib/.exported_symbols
lib/libdevmapper.h

index 7da1d7ad59889a5ca77888ee0f999f9173d77e98..23c3f708dbda52e0b30ee07339af5aa894159489 100644 (file)
@@ -61,11 +61,12 @@ dm_tree_node_add_target_area
 dm_is_dm_major
 dm_mknodes
 dm_malloc_aux
+dm_malloc_aux_debug
 dm_strdup
 dm_free_aux
 dm_realloc_aux
-dm_dump_memory
-dm_bounds_check
+dm_dump_memory_debug
+dm_bounds_check_debug
 dm_pool_create
 dm_pool_destroy
 dm_pool_alloc
index f8c1525385ed07131736c15cd82232e6388c0786..a6c3db2fcba139b3bfad91a1f71a30715deb6517 100644 (file)
@@ -356,16 +356,16 @@ void dm_bounds_check_debug(void);
 #  define dm_malloc(s) dm_malloc_aux_debug((s), __FILE__, __LINE__)
 #  define dm_free(p) dm_free_aux(p)
 #  define dm_realloc(p, s) dm_realloc_aux(p, s, __FILE__, __LINE__)
-#  define dm_dump_memory_debug()
-#  define dm_bounds_check_debug()
+#  define dm_dump_memory() dm_dump_memory_debug()
+#  define dm_bounds_check() dm_bounds_check_debug()
 
 #else
 
 #  define dm_malloc(s) dm_malloc_aux((s), __FILE__, __LINE__)
 #  define dm_free(p) free(p)
 #  define dm_realloc(p, s) realloc(p, s)
-#  define dm_dump_memory()
-#  define dm_bounds_check()
+#  define dm_dump_memory() {}
+#  define dm_bounds_check() {}
 
 #endif
 
This page took 0.026787 seconds and 5 git commands to generate.