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