| 1 | #include "pthread_impl.h" |
| 2 | |
| 3 | int __pthread_mutex_unlock(pthread_mutex_t *m) |
| 4 | { |
| 5 | 	if (!m->_m_count) return EPERM; |
| 6 | 	m->_m_count--; |
| 7 | 	return 0; |
| 8 | } |
| 9 | |
| 10 | weak_alias(__pthread_mutex_unlock, pthread_mutex_unlock); |