use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / thread / pthread_rwlockattr_getpshared.c
1 #include "pthread_impl.h"
2
3 int pthread_rwlockattr_getpshared(const pthread_rwlockattr_t *restrict a, int *restrict pshared)
4 {
5         *pshared = *(int *)a;
6         return 0;
7 }