fix popen not to leak pipes from one child to another
[musl] / src / stdio / swprintf.c
index 5ece97c..f75eb11 100644 (file)
@@ -1,8 +1,7 @@
-#include <stdio.h>
 #include <stdarg.h>
 #include <wchar.h>
 
-int swprintf(wchar_t *s, size_t n, const wchar_t *fmt, ...)
+int swprintf(wchar_t *restrict s, size_t n, const wchar_t *restrict fmt, ...)
 {
        int ret;
        va_list ap;