use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / stdio / vfscanf.c
index 61b0edb..54d0849 100644 (file)
@@ -71,7 +71,7 @@ static int readwc(int c, wchar_t **wcs, mbstate_t *st)
        return 0;
 }
 
-int vfscanf(FILE *f, const char *fmt, va_list ap)
+int vfscanf(FILE *restrict f, const char *restrict fmt, va_list ap)
 {
        int width;
        int size;