summaryrefslogtreecommitdiff
path: root/lib/apr_pools.c
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2000-05-19 23:04:39 +0000
committerRyan Bloom <rbb@apache.org>2000-05-19 23:04:39 +0000
commit53e42e01206da680ad7a1e682e9f38b6ac63c9f4 (patch)
tree4a58d17fb5f27ac2cca53a5f26eb20e69fa23d8c /lib/apr_pools.c
parent3f9000930c2b13c86b52412cda5da7fded55a309 (diff)
downloadapr-53e42e01206da680ad7a1e682e9f38b6ac63c9f4.tar.gz
Remove some stuff left over from the old context code. The removes a
warning. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60072 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'lib/apr_pools.c')
-rw-r--r--lib/apr_pools.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/apr_pools.c b/lib/apr_pools.c
index 0d853a730..e488dce73 100644
--- a/lib/apr_pools.c
+++ b/lib/apr_pools.c
@@ -575,26 +575,6 @@ struct cleanup {
struct cleanup *next;
};
-static void * ap_pool_palloc(ap_pool_t *a, int reqsize, int (*apr_abort)(int retcode));
-
-#if 0
-static void ap_register_pool_cleanup(struct ap_pool_t *p, void *data,
- ap_status_t (*plain_cleanup) (void *),
- ap_status_t (*child_cleanup) (void *))
-{
- struct cleanup *c;
-
- if (p != NULL) {
- c = (struct cleanup *) ap_pool_palloc(p, sizeof(struct cleanup), NULL);
- c->data = data;
- c->plain_cleanup = plain_cleanup;
- c->child_cleanup = child_cleanup;
- c->next = p->cleanups;
- p->cleanups = c;
- }
-}
-#endif
-
API_EXPORT(void) ap_register_cleanup(ap_pool_t *p, void *data,
ap_status_t (*plain_cleanup) (void *),
ap_status_t (*child_cleanup) (void *))