X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fstdio%2F__towrite.c;h=0a69d926dc3c10547a00ae9f7b8517c188078c68;hb=41421d6beb3f17aa8838f7cdaad9cd16b4c451f6;hp=380ea396a133ca81ba230b2e45186aed5da2775f;hpb=8e26a591d059382cd28b96e457ede2fe07c550c7;p=musl 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(); }