use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / stdio / vscanf.c
index 6f55b1c..6901958 100644 (file)
@@ -1,7 +1,7 @@
 #include <stdio.h>
 #include <stdarg.h>
 
-int vscanf(const char *fmt, va_list ap)
+int vscanf(const char *restrict fmt, va_list ap)
 {
        return vfscanf(stdin, fmt, ap);
 }