summaryrefslogtreecommitdiff
path: root/locks/beos/locks.c
diff options
context:
space:
mode:
Diffstat (limited to 'locks/beos/locks.c')
-rw-r--r--locks/beos/locks.c5
1 files changed, 3 insertions, 2 deletions
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) {