projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add new stdio extension functions to make gnulib happy
[musl]
/
src
/
stdio
/
__towrite.c
diff --git
a/src/stdio/__towrite.c
b/src/stdio/__towrite.c
index
4bf96f4
..
ba67e0d
100644
(file)
--- a/
src/stdio/__towrite.c
+++ b/
src/stdio/__towrite.c
@@
-17,8
+17,9
@@
int __towrite(FILE *f)
return 0;
}
-/* Link flush-on-exit code iff any stdio write functions are linked. */
-void __fflush_on_exit()
+const int __towrite_used = 1;
+
+void __flush_on_exit()
{
-
fflush(0
);
+
__stdio_exit(
);
}