use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / locale / strftime_l.c
index 70b2f15..f19f5bf 100644 (file)
@@ -1,7 +1,7 @@
 #include <locale.h>
 #include <time.h>
 
-size_t strftime_l(char *s, size_t n, const char *f, const struct tm *tm, locale_t l)
+size_t strftime_l(char *restrict s, size_t n, const char *restrict f, const struct tm *restrict tm, locale_t l)
 {
        return strftime(s, n, f, tm);
 }