diff options
author | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2000-04-14 01:56:25 +0000 |
---|---|---|
committer | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2000-04-14 01:56:25 +0000 |
commit | 17ba501b01ff8aae473e9f619fcf0589ed62f165 (patch) | |
tree | 7ba5e47df6e4372d4627852545cfa98a0edc8eff /include/apr_lock.h | |
parent | 185f54a0db73953164608ae4bf5a2945a605c7a1 (diff) | |
download | libapr-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 'include/apr_lock.h')
-rw-r--r-- | include/apr_lock.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/apr_lock.h b/include/apr_lock.h index 11ac4c811..7abc06591 100644 --- a/include/apr_lock.h +++ b/include/apr_lock.h @@ -71,7 +71,7 @@ typedef struct ap_lock_t ap_lock_t; /* Function definitions */ /* ***APRDOC******************************************************** * 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) * Create a new instance of a lock structure. * arg 1) The newly created lock structure. @@ -91,7 +91,7 @@ typedef struct ap_lock_t ap_lock_t; * only guaranteed to lock processes. */ 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); /* ***APRDOC******************************************************** @@ -118,7 +118,7 @@ ap_status_t ap_unlock(ap_lock_t *lock); ap_status_t ap_destroy_lock(ap_lock_t *lock); /* ***APRDOC******************************************************** - * ap_status_t ap_child_init_lock(ap_lock_t **lock, char *fname, + * ap_status_t ap_child_init_lock(ap_lock_t **lock, const char *fname, * ap_context_t *cont) * Re-open a lock in a child process. * arg 1) The newly re-opened lock structure. @@ -132,7 +132,7 @@ ap_status_t ap_destroy_lock(ap_lock_t *lock); * idea to call it regardless, because it makes the code more * portable. */ -ap_status_t ap_child_init_lock(ap_lock_t **lock, char *fname, +ap_status_t ap_child_init_lock(ap_lock_t **lock, const char *fname, ap_context_t *cont); /* ***APRDOC******************************************************** |