mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 21:47:59 +00:00
removed duplicate #define of isc_mutex_lock
This commit is contained in:
parent
360ac43cac
commit
b6f101e314
@ -35,9 +35,6 @@ typedef pthread_mutex_t isc_mutex_t;
|
|||||||
#define isc_mutex_lock(mp) \
|
#define isc_mutex_lock(mp) \
|
||||||
((pthread_mutex_lock((mp)) == 0) ? \
|
((pthread_mutex_lock((mp)) == 0) ? \
|
||||||
ISC_R_SUCCESS : ISC_R_UNEXPECTED)
|
ISC_R_SUCCESS : ISC_R_UNEXPECTED)
|
||||||
#define isc_mutex_lock(mp) \
|
|
||||||
((pthread_mutex_lock((mp)) == 0) ? \
|
|
||||||
ISC_R_SUCCESS : ISC_R_UNEXPECTED)
|
|
||||||
#define isc_mutex_unlock(mp) \
|
#define isc_mutex_unlock(mp) \
|
||||||
((pthread_mutex_unlock((mp)) == 0) ? \
|
((pthread_mutex_unlock((mp)) == 0) ? \
|
||||||
ISC_R_SUCCESS : ISC_R_UNEXPECTED)
|
ISC_R_SUCCESS : ISC_R_UNEXPECTED)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user