summaryrefslogtreecommitdiff
path: root/locks
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2001-09-29 14:14:07 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2001-09-29 14:14:07 +0000
commit91a7ec718093cddc81b1ec1b35c52126be019fdc (patch)
tree05e031871c2825356fbaf52b61f6ed97798b362d /locks
parentcecb0f0e3be656a31089ccf24b72999ba218288e (diff)
downloadlibapr-91a7ec718093cddc81b1ec1b35c52126be019fdc.tar.gz
Make sure we declare the pool accessor for both kinds of rwlocks
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62386 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'locks')
-rw-r--r--locks/unix/thread_rwlock.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/locks/unix/thread_rwlock.c b/locks/unix/thread_rwlock.c
index 26adf08ed..8a11aba93 100644
--- a/locks/unix/thread_rwlock.c
+++ b/locks/unix/thread_rwlock.c
@@ -235,8 +235,7 @@ APR_DECLARE(apr_status_t) apr_thread_rwlock_destroy(apr_thread_rwlock_t *rwlock)
return APR_ENOTIMPL;
}
-APR_POOL_IMPLEMENT_ACCESSOR(thread_rwlock)
-
#endif /* HAVE_PTHREAD_RWLOCK_INIT */
+APR_POOL_IMPLEMENT_ACCESSOR(thread_rwlock)
#endif /* APR_HAS_THREADS */