X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fstdio%2F__towrite.c;h=0a69d926dc3c10547a00ae9f7b8517c188078c68;hb=c463e11eda8326aacee2ac1d516954a9574a2dcd;hp=4bf96f4dfb505a9bffa2be928bab02ad62840ef1;hpb=f753049a50132a23849ef89a8af5ff86ad595c25;p=musl diff --git a/src/stdio/__towrite.c b/src/stdio/__towrite.c index 4bf96f4d..0a69d926 100644 --- 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() +void __stdio_exit_needed(void); + +void __towrite_needs_stdio_exit() { - fflush(0); + __stdio_exit_needed(); }