use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / thread / pthread_rwlock_timedwrlock.c
index aa2fd19..339a167 100644 (file)
@@ -1,6 +1,6 @@
 #include "pthread_impl.h"
 
-int pthread_rwlock_timedwrlock(pthread_rwlock_t *rw, const struct timespec *at)
+int pthread_rwlock_timedwrlock(pthread_rwlock_t *restrict rw, const struct timespec *restrict at)
 {
        int r, t;
        while ((r=pthread_rwlock_trywrlock(rw))==EBUSY) {