summaryrefslogtreecommitdiff
path: root/locks/unix/locks.c
diff options
context:
space:
mode:
authordgaudet <dgaudet@unknown>2000-04-14 02:12:56 +0000
committerdgaudet <dgaudet@unknown>2000-04-14 02:12:56 +0000
commit2b952424a261e9e60438285319b74e8a15f8de2a (patch)
treee8a88d4c1aaf0da7ea1b67aab5a4645845270096 /locks/unix/locks.c
parent065da3aac4aa865bbe427796fda224bd2d1e5a33 (diff)
downloadapr-2b952424a261e9e60438285319b74e8a15f8de2a.tar.gz
namespace cleanup in locks/unix
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59847 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'locks/unix/locks.c')
-rw-r--r--locks/unix/locks.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/locks/unix/locks.c b/locks/unix/locks.c
index 7e9a9e05b..365eb3582 100644
--- a/locks/unix/locks.c
+++ b/locks/unix/locks.c
@@ -82,7 +82,7 @@ ap_status_t ap_create_lock(ap_lock_t **lock, ap_locktype_e type,
if (scope != APR_CROSS_PROCESS) {
#if APR_HAS_THREADS
- if ((stat = create_intra_lock(new)) != APR_SUCCESS) {
+ if ((stat = ap_unix_create_intra_lock(new)) != APR_SUCCESS) {
return stat;
}
#else
@@ -90,7 +90,7 @@ ap_status_t ap_create_lock(ap_lock_t **lock, ap_locktype_e type,
#endif
}
if (scope != APR_INTRAPROCESS) {
- if ((stat = create_inter_lock(new)) != APR_SUCCESS) {
+ if ((stat = ap_unix_create_inter_lock(new)) != APR_SUCCESS) {
return stat;
}
}
@@ -103,7 +103,7 @@ ap_status_t ap_lock(ap_lock_t *lock)
ap_status_t stat;
if (lock->scope != APR_CROSS_PROCESS) {
#if APR_HAS_THREADS
- if ((stat = lock_intra(lock)) != APR_SUCCESS) {
+ if ((stat = ap_unix_lock_intra(lock)) != APR_SUCCESS) {
return stat;
}
#else
@@ -111,7 +111,7 @@ ap_status_t ap_lock(ap_lock_t *lock)
#endif
}
if (lock->scope != APR_INTRAPROCESS) {
- if ((stat = lock_inter(lock)) != APR_SUCCESS) {
+ if ((stat = ap_unix_lock_inter(lock)) != APR_SUCCESS) {
return stat;
}
}
@@ -124,7 +124,7 @@ ap_status_t ap_unlock(ap_lock_t *lock)
if (lock->scope != APR_CROSS_PROCESS) {
#if APR_HAS_THREADS
- if ((stat = unlock_intra(lock)) != APR_SUCCESS) {
+ if ((stat = ap_unix_unlock_intra(lock)) != APR_SUCCESS) {
return stat;
}
#else
@@ -132,7 +132,7 @@ ap_status_t ap_unlock(ap_lock_t *lock)
#endif
}
if (lock->scope != APR_INTRAPROCESS) {
- if ((stat = unlock_inter(lock)) != APR_SUCCESS) {
+ if ((stat = ap_unix_unlock_inter(lock)) != APR_SUCCESS) {
return stat;
}
}
@@ -144,7 +144,7 @@ ap_status_t ap_destroy_lock(ap_lock_t *lock)
ap_status_t stat;
if (lock->scope != APR_CROSS_PROCESS) {
#if APR_HAS_THREADS
- if ((stat = destroy_intra_lock(lock)) != APR_SUCCESS) {
+ if ((stat = ap_unix_destroy_intra_lock(lock)) != APR_SUCCESS) {
return stat;
}
#else
@@ -152,7 +152,7 @@ ap_status_t ap_destroy_lock(ap_lock_t *lock)
#endif
}
if (lock->scope != APR_INTRAPROCESS) {
- if ((stat = destroy_inter_lock(lock)) != APR_SUCCESS) {
+ if ((stat = ap_unix_destroy_inter_lock(lock)) != APR_SUCCESS) {
return stat;
}
}
@@ -164,7 +164,7 @@ ap_status_t ap_child_init_lock(ap_lock_t **lock, const char *fname,
{
ap_status_t stat;
if ((*lock)->scope != APR_CROSS_PROCESS) {
- if ((stat = child_init_lock(lock, cont, fname)) != APR_SUCCESS) {
+ if ((stat = ap_unix_child_init_lock(lock, cont, fname)) != APR_SUCCESS) {
return stat;
}
}