summaryrefslogtreecommitdiff
path: root/locks
diff options
context:
space:
mode:
authorbjh <bjh@13f79535-47bb-0310-9956-ffa450edef68>2002-11-23 00:47:40 +0000
committerbjh <bjh@13f79535-47bb-0310-9956-ffa450edef68>2002-11-23 00:47:40 +0000
commitd2f41c99954827cd84e4fea49b44176ea48e4fa3 (patch)
tree29f07f04da83657aa92615a73a2c25488f6d8b9e /locks
parent108b9762abda1622920f23649ae663fdd54704e4 (diff)
downloadlibapr-d2f41c99954827cd84e4fea49b44176ea48e4fa3.tar.gz
OS/2: Make apr_proc_mutex_cleanup() public to match recent API change.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64060 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'locks')
-rw-r--r--locks/os2/proc_mutex.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/locks/os2/proc_mutex.c b/locks/os2/proc_mutex.c
index 7338e466b..54309c63a 100644
--- a/locks/os2/proc_mutex.c
+++ b/locks/os2/proc_mutex.c
@@ -87,7 +87,7 @@ static char *fixed_name(const char *fname, apr_pool_t *pool)
-static apr_status_t proc_mutex_cleanup(void *vmutex)
+APR_DECLARE(apr_status_t) apr_proc_mutex_cleanup(void *vmutex)
{
apr_proc_mutex_t *mutex = vmutex;
return apr_proc_mutex_destroy(mutex);
@@ -127,7 +127,7 @@ APR_DECLARE(apr_status_t) apr_proc_mutex_create(apr_proc_mutex_t **mutex,
rc = DosCreateMutexSem(semname, &(new->hMutex), DC_SEM_SHARED, FALSE);
if (!rc) {
- apr_pool_cleanup_register(pool, new, proc_mutex_cleanup, apr_pool_cleanup_null);
+ apr_pool_cleanup_register(pool, new, apr_proc_mutex_cleanup, apr_pool_cleanup_null);
}
return APR_FROM_OS_ERROR(rc);
@@ -153,7 +153,7 @@ APR_DECLARE(apr_status_t) apr_proc_mutex_child_init(apr_proc_mutex_t **mutex,
*mutex = new;
if (!rc) {
- apr_pool_cleanup_register(pool, new, proc_mutex_cleanup, apr_pool_cleanup_null);
+ apr_pool_cleanup_register(pool, new, apr_proc_mutex_cleanup, apr_pool_cleanup_null);
}
return APR_FROM_OS_ERROR(rc);