summaryrefslogtreecommitdiff
path: root/dso/os2
diff options
context:
space:
mode:
authordougm <dougm@13f79535-47bb-0310-9956-ffa450edef68>2001-02-08 07:45:23 +0000
committerdougm <dougm@13f79535-47bb-0310-9956-ffa450edef68>2001-02-08 07:45:23 +0000
commitaba88e6ebce8d24a8ca387c28aabc9f17559a56c (patch)
tree136752321dd3e22c22463c9ab35a700ab0507729 /dso/os2
parent482ce86a79d41d751123dcfcfc29f4098135c4b7 (diff)
downloadlibapr-aba88e6ebce8d24a8ca387c28aabc9f17559a56c.tar.gz
renaming various functions for consistency sake
see: http://apr.apache.org/~dougm/apr_rename.pl PR: Obtained from: Submitted by: Reviewed by: git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61194 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'dso/os2')
-rw-r--r--dso/os2/dso.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dso/os2/dso.c b/dso/os2/dso.c
index bceef2e06..50ed0d282 100644
--- a/dso/os2/dso.c
+++ b/dso/os2/dso.c
@@ -94,7 +94,7 @@ APR_DECLARE(apr_status_t) apr_dso_load(apr_dso_handle_t **res_handle, const char
}
(*res_handle)->handle = handle;
- apr_register_cleanup(ctx, *res_handle, dso_cleanup, apr_null_cleanup);
+ apr_pool_cleanup_register(ctx, *res_handle, dso_cleanup, apr_pool_cleanup_null);
return APR_SUCCESS;
}
@@ -102,7 +102,7 @@ APR_DECLARE(apr_status_t) apr_dso_load(apr_dso_handle_t **res_handle, const char
APR_DECLARE(apr_status_t) apr_dso_unload(apr_dso_handle_t *handle)
{
- return apr_run_cleanup(handle->cont, handle, dso_cleanup);
+ return apr_pool_cleanup_run(handle->cont, handle, dso_cleanup);
}