use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / time / strptime.c
index 4c0bb26..0f66e6c 100644 (file)
@@ -7,7 +7,7 @@
 #include <string.h>
 #include <strings.h>
 
 #include <string.h>
 #include <strings.h>
 
-char *strptime(const char *s, const char *f, struct tm *tm)
+char *strptime(const char *restrict s, const char *restrict f, struct tm *restrict tm)
 {
        int i, w, neg, adj, min, range, *dest;
        const char *ex;
 {
        int i, w, neg, adj, min, range, *dest;
        const char *ex;