about summary refs log tree commit diff
path: root/src/stdio/__towrite.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/__towrite.c')
-rw-r--r--src/stdio/__towrite.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/stdio/__towrite.c b/src/stdio/__towrite.c
index 380ea396..0a69d926 100644
--- a/src/stdio/__towrite.c
+++ b/src/stdio/__towrite.c
@@ -17,11 +17,9 @@ int __towrite(FILE *f)
 	return 0;
 }
 
-const int __towrite_used = 1;
+void __stdio_exit_needed(void);
 
-void __stdio_exit(void);
-
-void __flush_on_exit()
+void __towrite_needs_stdio_exit()
 {
-	__stdio_exit();
+	__stdio_exit_needed();
 }