summaryrefslogtreecommitdiff
path: root/locks/unix/locks.c
diff options
context:
space:
mode:
Diffstat (limited to 'locks/unix/locks.c')
-rw-r--r--locks/unix/locks.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/locks/unix/locks.c b/locks/unix/locks.c
index 365eb3582..c550dfea9 100644
--- a/locks/unix/locks.c
+++ b/locks/unix/locks.c
@@ -56,8 +56,8 @@
#include "apr_portable.h"
ap_status_t ap_create_lock(ap_lock_t **lock, ap_locktype_e type,
- ap_lockscope_e scope, const char *fname,
- ap_context_t *cont)
+ ap_lockscope_e scope, char *fname,
+ ap_pool_t *cont)
{
ap_lock_t *new;
ap_status_t stat;
@@ -159,8 +159,8 @@ ap_status_t ap_destroy_lock(ap_lock_t *lock)
return APR_SUCCESS;
}
-ap_status_t ap_child_init_lock(ap_lock_t **lock, const char *fname,
- ap_context_t *cont)
+ap_status_t ap_child_init_lock(ap_lock_t **lock, const char *fname,
+ ap_pool_t *cont)
{
ap_status_t stat;
if ((*lock)->scope != APR_CROSS_PROCESS) {
@@ -210,7 +210,7 @@ ap_status_t ap_get_os_lock(ap_os_lock_t *oslock, ap_lock_t *lock)
}
ap_status_t ap_put_os_lock(ap_lock_t **lock, ap_os_lock_t *thelock,
- ap_context_t *cont)
+ ap_pool_t *cont)
{
if (cont == NULL) {
return APR_ENOCONT;