use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / time / timer_create.c
index 813678a..560f1a8 100644 (file)
@@ -76,7 +76,7 @@ static void *start(void *arg)
        return 0;
 }
 
-int timer_create(clockid_t clk, struct sigevent *evp, timer_t *res)
+int timer_create(clockid_t clk, struct sigevent *restrict evp, timer_t *restrict res)
 {
        static pthread_once_t once = PTHREAD_ONCE_INIT;
        pthread_t td;