use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / stdio / vfwscanf.c
index de74fe0..b3bc6f3 100644 (file)
@@ -86,7 +86,7 @@ static int in_set(const wchar_t *set, int c)
        ((f)->rend && (c)<128U ? *--(f)->rpos : ungetwc((c),(f)))
 #endif
 
        ((f)->rend && (c)<128U ? *--(f)->rpos : ungetwc((c),(f)))
 #endif
 
-int vfwscanf(FILE *f, const wchar_t *fmt, va_list ap)
+int vfwscanf(FILE *restrict f, const wchar_t *restrict fmt, va_list ap)
 {
        int width;
        int size;
 {
        int width;
        int size;