From 8e26a591d059382cd28b96e457ede2fe07c550c7 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 2 Jul 2012 22:48:56 -0400 Subject: fix missing function declarations for __stdio_exit --- src/stdio/__toread.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/stdio/__toread.c') 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(); -- cgit v1.2.1