use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / stdio / vswscanf.c
index 4c39f80..a205200 100644 (file)
@@ -23,7 +23,7 @@ static size_t wstring_read(FILE *f, unsigned char *buf, size_t len)
        return 1;
 }
 
-int vswscanf(const wchar_t *s, const wchar_t *fmt, va_list ap)
+int vswscanf(const wchar_t *restrict s, const wchar_t *restrict fmt, va_list ap)
 {
        unsigned char buf[256];
        FILE f = {