mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-28 21:17:54 +00:00
Fix some typos in the non-threaded version of isc_rwlock_trylock() that
were preventing compilation.
This commit is contained in:
parent
f0a1134d33
commit
c6237585d8
@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: rwlock.c,v 1.29 2001/03/08 00:55:13 tale Exp $ */
|
||||
/* $Id: rwlock.c,v 1.30 2001/03/08 19:52:13 halley Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@ -311,8 +311,8 @@ isc_rwlock_lock(isc_rwlock_t *rwl, isc_rwlocktype_t type) {
|
||||
}
|
||||
|
||||
isc_result_t
|
||||
isc_rwlock_lock(isc_rwlock_t *rwl, isc_rwlocktype_t type) {
|
||||
return (isc_rwlock_lock(rwl, type))g;
|
||||
isc_rwlock_trylock(isc_rwlock_t *rwl, isc_rwlocktype_t type) {
|
||||
return (isc_rwlock_lock(rwl, type));
|
||||
}
|
||||
|
||||
isc_result_t
|
||||
|
Loading…
x
Reference in New Issue
Block a user