aboutsummaryrefslogtreecommitdiff
path: root/system/lib/libc/musl/src/stdio/__toread.c
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2014-01-14 09:44:15 +0700
committerBruce Mitchener <bruce.mitchener@gmail.com>2014-01-14 15:05:20 +0700
commita15486ffea916f46cca822d7614a44e48393b8d7 (patch)
treef47b7437e5a3f81f9a13ef1b5be45e5e5c59cf8e /system/lib/libc/musl/src/stdio/__toread.c
parentea5facf1ab2c769e07b4046c6ed7257c2a8caf5c (diff)
Fix asm2 compilation where __toread was used.
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();
-}