fix and overhaul dlsym depedency order, always record direct deps
[musl.git] / src / thread / pthread_rwlockattr_setpshared.c
blobe7061973d6d6b1c00a79cd2c3cd4bb04b0f104d7
1 #include "pthread_impl.h"
3 int pthread_rwlockattr_setpshared(pthread_rwlockattr_t *a, int pshared)
5 if (pshared > 1U) return EINVAL;
6 a->__attr[0] = pshared;
7 return 0;