summaryrefslogtreecommitdiff
path: root/src/stdio/__toread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/__toread.c')
-rw-r--r--src/stdio/__toread.c2
1 files changed, 2 insertions, 0 deletions
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();