X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fstdio%2F__toread.c;h=2e804f641dbd8a2363f88c4c08696e1f89627d08;hb=b5a527f9ff47b0f4b32c606e385a0c27d861a475;hp=c2ae80fd59d2ae631a0ad58631cf6909d9f6ab75;hpb=a71e0af25544fd2486e57ea51c6d05abdbf44c3e;p=musl diff --git a/src/stdio/__toread.c b/src/stdio/__toread.c index c2ae80fd..2e804f64 100644 --- a/src/stdio/__toread.c +++ b/src/stdio/__toread.c @@ -16,6 +16,8 @@ int __toread(FILE *f) static const int dummy = 0; weak_alias(dummy, __towrite_used); +void __stdio_exit(void); + void __seek_on_exit() { if (!__towrite_used) __stdio_exit();