use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / stdio / wscanf.c
index 34b5884..a207cc1 100644 (file)
@@ -2,7 +2,7 @@
 #include <stdarg.h>
 #include <wchar.h>
 
-int wscanf(const wchar_t *fmt, ...)
+int wscanf(const wchar_t *restrict fmt, ...)
 {
        int ret;
        va_list ap;