diff options
Diffstat (limited to 'locks')
-rw-r--r-- | locks/beos/locks.c | 5 | ||||
-rw-r--r-- | locks/os2/locks.c | 6 | ||||
-rw-r--r-- | locks/unix/locks.c | 2 | ||||
-rw-r--r-- | locks/win32/locks.c | 2 |
4 files changed, 9 insertions, 6 deletions
diff --git a/locks/beos/locks.c b/locks/beos/locks.c index 48d8c07aa..362b28177 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_pool_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_pool_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) { diff --git a/locks/os2/locks.c b/locks/os2/locks.c index 4272a164b..dc288b6c9 100644 --- a/locks/os2/locks.c +++ b/locks/os2/locks.c @@ -77,7 +77,8 @@ static ap_status_t lock_cleanup(void *thelock) -ap_status_t ap_create_lock(ap_lock_t **lock, ap_locktype_e type, ap_lockscope_e scope, char *fname, ap_pool_t *cont) +ap_status_t ap_create_lock(ap_lock_t **lock, ap_locktype_e type, ap_lockscope_e scope, + const char *fname, ap_pool_t *cont) { ap_lock_t *new; ULONG rc; @@ -109,7 +110,8 @@ ap_status_t ap_create_lock(ap_lock_t **lock, ap_locktype_e type, ap_lockscope_e -ap_status_t ap_child_init_lock(ap_lock_t **lock, char *fname, ap_pool_t *cont) +ap_status_t ap_child_init_lock(ap_lock_t **lock, const char *fname, + ap_pool_t *cont) { int rc; PIB *ppib; diff --git a/locks/unix/locks.c b/locks/unix/locks.c index c550dfea9..e32bf7644 100644 --- a/locks/unix/locks.c +++ b/locks/unix/locks.c @@ -56,7 +56,7 @@ #include "apr_portable.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_pool_t *cont) { ap_lock_t *new; diff --git a/locks/win32/locks.c b/locks/win32/locks.c index d841ea419..220b52b6c 100644 --- a/locks/win32/locks.c +++ b/locks/win32/locks.c @@ -58,7 +58,7 @@ #include "apr_portable.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_pool_t *cont) { ap_lock_t *newlock; |