clean up stdio_impl.h
[musl] / src / stdio / vswscanf.c
index 4c39f80..7a2f7c7 100644 (file)
@@ -1,4 +1,5 @@
 #include "stdio_impl.h"
+#include <wchar.h>
 
 static size_t wstring_read(FILE *f, unsigned char *buf, size_t len)
 {
@@ -23,7 +24,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 = {