getopt: fix null pointer arithmetic ub
[musl] / src / thread / cnd_init.c
1 #include <threads.h>
2
3 int cnd_init(cnd_t *c)
4 {
5         *c = (cnd_t){ 0 };
6         return thrd_success;
7 }