summaryrefslogtreecommitdiff
path: root/locks/beos
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2000-04-14 01:56:25 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2000-04-14 01:56:25 +0000
commit17ba501b01ff8aae473e9f619fcf0589ed62f165 (patch)
tree7ba5e47df6e4372d4627852545cfa98a0edc8eff /locks/beos
parent185f54a0db73953164608ae4bf5a2945a605c7a1 (diff)
downloadlibapr-17ba501b01ff8aae473e9f619fcf0589ed62f165.tar.gz
Change the fname parm of ap_create_lock() and ap_child_init_lock()
from char * to const char *. This eliminates a compile warning in mod_rewrite and feels better anyway. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59845 13f79535-47bb-0310-9956-ffa450edef68
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) {