master
1#include "pthread_impl.h"
2
3int __pthread_rwlock_unlock(pthread_rwlock_t *rw)
4{
5 if (rw->_rw_lock == 0x7fffffff)
6 rw->_rw_lock = 0;
7 else
8 rw->_rw_lock--;
9 return 0;
10}
11
12weak_alias(__pthread_rwlock_unlock, pthread_rwlock_unlock);