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