projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
offer REALGCC variable to configure musl-gcc wrapper at runtime
[musl]
/
src
/
stdio
/
__towrite.c
diff --git
a/src/stdio/__towrite.c
b/src/stdio/__towrite.c
index
b458741
..
380ea39
100644
(file)
--- a/
src/stdio/__towrite.c
+++ b/
src/stdio/__towrite.c
@@
-17,5
+17,11
@@
int __towrite(FILE *f)
return 0;
}
-/* Link flush-on-exit code iff any stdio write functions are linked. */
-int (*const __fflush_on_exit)(FILE *) = fflush;
+const int __towrite_used = 1;
+
+void __stdio_exit(void);
+
+void __flush_on_exit()
+{
+ __stdio_exit();
+}