fix buffer overrun in getgrent code when there are no group members
[musl] / src / thread / pthread_cond_signal.c
1 #include "pthread_impl.h"
2
3 int pthread_cond_signal(pthread_cond_t *c)
4 {
5         c->_c_block = 0;
6         __wake(&c->_c_block, 1, 0);
7         return 0;
8 }