rbb 01/07/07 15:23:55
Modified: memory/unix apr_pools.c
Log:
This function is only used if we are debugging the code, so we should
only define it if we are debugging.
Revision Changes Path
1.100 +2 -2 apr/memory/unix/apr_pools.c
Index: apr_pools.c
===================================================================
RCS file: /home/cvs/apr/memory/unix/apr_pools.c,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -d -b -w -u -r1.99 -r1.100
--- apr_pools.c 2001/07/07 07:21:14 1.99
+++ apr_pools.c 2001/07/07 22:23:54 1.100
@@ -540,7 +540,7 @@
/* Accounting */
-
+#ifdef APR_POOL_DEBUG
static apr_size_t bytes_in_block_list(union block_hdr *blok)
{
apr_size_t size = 0;
@@ -552,7 +552,7 @@
return size;
}
-
+#endif
/*****************************************************************
*