fix popen not to leak pipes from one child to another
[musl] / src / stdio / vscanf.c
index 6f55b1c..9d46ab0 100644 (file)
@@ -1,7 +1,9 @@
 #include <stdio.h>
 #include <stdarg.h>
 
-int vscanf(const char *fmt, va_list ap)
+int vscanf(const char *restrict fmt, va_list ap)
 {
        return vfscanf(stdin, fmt, ap);
 }
+
+weak_alias(vscanf,__isoc99_vscanf);