use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / time / gmtime_r.c
index 5b565a6..13a2548 100644 (file)
@@ -2,7 +2,7 @@
 
 #include "__time.h"
 
-struct tm *gmtime_r(const time_t *t, struct tm *result)
+struct tm *gmtime_r(const time_t *restrict t, struct tm *restrict result)
 {
        __time_to_tm(*t, result);
        result->tm_isdst = 0;