summaryrefslogtreecommitdiff
path: root/locks/beos
diff options
context:
space:
mode:
Diffstat (limited to 'locks/beos')
-rw-r--r--locks/beos/crossproc.c3
-rw-r--r--locks/beos/locks.c5
2 files changed, 5 insertions, 3 deletions
diff --git a/locks/beos/crossproc.c b/locks/beos/crossproc.c
index 264503a04..d5f7a6db8 100644
--- a/locks/beos/crossproc.c
+++ b/locks/beos/crossproc.c
@@ -123,7 +123,8 @@ ap_status_t destroy_inter_lock(ap_lock_t *lock)
return stat;
}
-ap_status_t child_init_lock(ap_lock_t **lock, ap_context_t *cont, char *fname)
+ap_status_t child_init_lock(ap_lock_t **lock, ap_context_t *cont,
+ const char *fname)
{
return APR_SUCCESS;
}
diff --git a/locks/beos/locks.c b/locks/beos/locks.c
index f3a4b7dc5..50a0a2dee 100644
--- a/locks/beos/locks.c
+++ b/locks/beos/locks.c
@@ -55,7 +55,7 @@
#include "locks.h"
ap_status_t ap_create_lock(ap_lock_t **lock, ap_locktype_e type,
- ap_lockscope_e scope, char *fname,
+ ap_lockscope_e scope, const char *fname,
ap_context_t *cont)
{
ap_lock_t *new;
@@ -134,7 +134,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, char *fname, ap_context_t *cont)
+ap_status_t ap_child_init_lock(ap_lock_t **lock, const char *fname,
+ ap_context_t *cont)
{
ap_status_t stat;
if ((*lock)->scope != APR_CROSS_PROCESS) {