remove spurious inclusion of libc.h for LFS64 ABI aliases
[musl] / src / stdio / __stdio_exit.c
index 191b445..5741070 100644 (file)
@@ -19,6 +19,7 @@ void __stdio_exit(void)
        for (f=*__ofl_lock(); f; f=f->next) close_file(f);
        close_file(__stdin_used);
        close_file(__stdout_used);
+       close_file(__stderr_used);
 }
 
 weak_alias(__stdio_exit, __stdio_exit_needed);