use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / thread / pthread_condattr_getclock.c
index a77cc3e..d293384 100644 (file)
@@ -1,6 +1,6 @@
 #include "pthread_impl.h"
 
-int pthread_condattr_getclock(const pthread_condattr_t *a, clockid_t *clk)
+int pthread_condattr_getclock(const pthread_condattr_t *restrict a, clockid_t *restrict clk)
 {
        *clk = *a & 0x7fffffff;
        return 0;