aboutsummaryrefslogtreecommitdiff
path: root/system/lib/libc/musl/src/stdio/__toread.c
diff options
context:
space:
mode:
Diffstat (limited to 'system/lib/libc/musl/src/stdio/__toread.c')
-rw-r--r--system/lib/libc/musl/src/stdio/__toread.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/system/lib/libc/musl/src/stdio/__toread.c b/system/lib/libc/musl/src/stdio/__toread.c
index 2e804f64..f00cc467 100644
--- a/system/lib/libc/musl/src/stdio/__toread.c
+++ b/system/lib/libc/musl/src/stdio/__toread.c
@@ -12,13 +12,3 @@ int __toread(FILE *f)
f->rpos = f->rend = f->buf;
return 0;
}
-
-static const int dummy = 0;
-weak_alias(dummy, __towrite_used);
-
-void __stdio_exit(void);
-
-void __seek_on_exit()
-{
- if (!__towrite_used) __stdio_exit();
-}