1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#include "pthread_impl.h" int __pthread_rwlock_wrlock(pthread_rwlock_t *rw) { return __pthread_rwlock_timedwrlock(rw, 0); } weak_alias(__pthread_rwlock_wrlock, pthread_rwlock_wrlock); #ifdef TEST int main(void) { return 0; } #endif