use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / thread / pthread_cond_init.c
index 03aff76..2eac30f 100644 (file)
@@ -1,6 +1,6 @@
 #include "pthread_impl.h"
 
-int pthread_cond_init(pthread_cond_t *c, const pthread_condattr_t *a)
+int pthread_cond_init(pthread_cond_t *restrict c, const pthread_condattr_t *restrict a)
 {
        memset(c, 0, sizeof *c);
        if (a) {