fix dup3 ignoring all flags but O_CLOEXEC on archs with SYS_dup2 syscall
[musl] / src / stdio / __towrite.c
index b022cbc..4c9c66a 100644 (file)
@@ -17,9 +17,7 @@ int __towrite(FILE *f)
        return 0;
 }
 
-void __stdio_exit_needed(void);
-
-void __towrite_needs_stdio_exit()
+hidden void __towrite_needs_stdio_exit()
 {
        __stdio_exit_needed();
 }