This patch was discussed on [EMAIL PROTECTED] We are providing two sets of rwlock functions for UNIX: the original simply uses pthread_rwlock* functions directly, the other will be implemented for operating systems that do not provide a pthread rwlock API (like Solaris 2.6).
This patch removes a spurrious function definition in the stub implementation. We don't need it because we have apr_thread_rwlock_rdlock() and apr_thread_rwlock_wrlock(). -aaron Index: srclib/apr/locks/unix/thread_rwlock.c =================================================================== RCS file: /home/cvspublic/apr/locks/unix/thread_rwlock.c,v retrieving revision 1.4 diff -u -r1.4 thread_rwlock.c --- srclib/apr/locks/unix/thread_rwlock.c 2001/09/29 14:14:07 1.4 +++ srclib/apr/locks/unix/thread_rwlock.c 2001/10/01 16:01:42 @@ -220,11 +220,6 @@ return APR_ENOTIMPL; } -APR_DECLARE(apr_status_t) apr_thread_rwlock_lock(apr_thread_rwlock_t *rwlock) -{ - return APR_ENOTIMPL; -} - APR_DECLARE(apr_status_t) apr_thread_rwlock_unlock(apr_thread_rwlock_t *rwlock) { return APR_ENOTIMPL;