make malloc(0) return unique pointers rather than NULL
[musl] / src / thread / pthread_spin_unlock.c
1 #include "pthread_impl.h"
2
3 int pthread_spin_unlock(pthread_spinlock_t *s)
4 {
5         return *s = 0;
6 }