use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / stdio / fscanf.c
index 51fc9b3..ff6c776 100644 (file)
@@ -1,7 +1,7 @@
 #include <stdio.h>
 #include <stdarg.h>
 
-int fscanf(FILE *f, const char *fmt, ...)
+int fscanf(FILE *restrict f, const char *restrict fmt, ...)
 {
        int ret;
        va_list ap;