striker 02/05/29 18:15:29
Modified: memory/unix apr_pools.c
Log:
Move the apr_pool_allocator_get out of the #if !APR_POOL_DEBUG block.
Revision Changes Path
1.175 +5 -5 apr/memory/unix/apr_pools.c
Index: apr_pools.c
===================================================================
RCS file: /home/cvs/apr/memory/unix/apr_pools.c,v
retrieving revision 1.174
retrieving revision 1.175
diff -u -r1.174 -r1.175
--- apr_pools.c 30 May 2002 01:06:42 -0000 1.174
+++ apr_pools.c 30 May 2002 01:15:29 -0000 1.175
@@ -873,11 +873,6 @@
return APR_SUCCESS;
}
-APR_DECLARE(apr_allocator_t *) apr_pool_allocator_get(apr_pool_t *pool)
-{
- return pool->allocator;
-}
-
/*
* "Print" functions
@@ -1753,6 +1748,11 @@
APR_DECLARE(apr_pool_t *) apr_pool_get_parent(apr_pool_t *pool)
{
return pool->parent;
+}
+
+APR_DECLARE(apr_allocator_t *) apr_pool_allocator_get(apr_pool_t *pool)
+{
+ return pool->allocator;
}
/* return TRUE if a is an ancestor of b