summaryrefslogtreecommitdiff
path: root/memory
diff options
context:
space:
mode:
authorstriker <striker@13f79535-47bb-0310-9956-ffa450edef68>2002-05-30 01:15:29 +0000
committerstriker <striker@13f79535-47bb-0310-9956-ffa450edef68>2002-05-30 01:15:29 +0000
commit45fb8fa88c530aec50689ebca8d42c02178f9123 (patch)
tree322429dc52baf9ed65f240224d8a0536a7cfe4b6 /memory
parent0cee42f587fa35429c6467cc4e21a9aa2d514c3b (diff)
downloadlibapr-45fb8fa88c530aec50689ebca8d42c02178f9123.tar.gz
Move the apr_pool_allocator_get out of the #if !APR_POOL_DEBUG block.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63448 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'memory')
-rw-r--r--memory/unix/apr_pools.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/memory/unix/apr_pools.c b/memory/unix/apr_pools.c
index a7601c968..cdcc3a602 100644
--- a/memory/unix/apr_pools.c
+++ b/memory/unix/apr_pools.c
@@ -873,11 +873,6 @@ APR_DECLARE(apr_status_t) apr_pool_create_ex(apr_pool_t **newpool,
return APR_SUCCESS;
}
-APR_DECLARE(apr_allocator_t *) apr_pool_allocator_get(apr_pool_t *pool)
-{
- return pool->allocator;
-}
-
/*
* "Print" functions
@@ -1755,6 +1750,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
* NULL is considered an ancestor of all pools
*/