Fix compilation error with slab allocator and no debugging.
authorMichael Poole <mdpoole@troilus.org>
Wed, 5 Apr 2006 01:59:54 +0000 (01:59 +0000)
committerMichael Poole <mdpoole@troilus.org>
Wed, 5 Apr 2006 01:59:54 +0000 (01:59 +0000)
src/alloc-slab.c (verify): Undefine as a macro before defining as a
    function.
git-archimport-id: srvx@srvx.net--2006/srvx--devo--1.3--patch-8

ChangeLog
src/alloc-slab.c

index a395c9ec2e9534c5a643dc876251c3fad5e3adec..aea3d18635439379c7f2d3d2359917d5b6def26e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,20 @@
 # arch-tag: automatic-ChangeLog--srvx@srvx.net--2006/srvx--devo--1.3
 #
 
+2006-04-05 01:59:54 GMT        Michael Poole <mdpoole@troilus.org>     patch-8
+
+    Summary:
+      Fix compilation error with slab allocator and no debugging.
+    Revision:
+      srvx--devo--1.3--patch-8
+
+    src/alloc-slab.c (verify): Undefine as a macro before defining as a
+        function.
+
+    modified files:
+     ChangeLog src/alloc-slab.c
+
+
 2006-04-05 00:24:50 GMT        Michael Poole <mdpoole@troilus.org>     patch-7
 
     Summary:
index 144a2371a26e47b540994bbf9bf4d68a1860092c..2b923193ca8ffaa0ad27f0c21ba30e4398003dea 100644 (file)
@@ -431,6 +431,8 @@ slab_free(const char *file, unsigned int line, void *ptr)
     }
 }
 
+/* Undefine the verify macro in case we're not debugging. */
+#undef verify
 void
 verify(const void *ptr)
 {