fix missing function declarations for __stdio_exit
authorRich Felker <dalias@aerifal.cx>
Tue, 3 Jul 2012 02:48:56 +0000 (22:48 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 3 Jul 2012 02:48:56 +0000 (22:48 -0400)
src/stdio/__toread.c
src/stdio/__towrite.c

index c2ae80fd59d2ae631a0ad58631cf6909d9f6ab75..2e804f641dbd8a2363f88c4c08696e1f89627d08 100644 (file)
@@ -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();
index ba67e0dfc36b9efb3212da277e96a3b05997eb8b..380ea396a133ca81ba230b2e45186aed5da2775f 100644 (file)
@@ -19,6 +19,8 @@ int __towrite(FILE *f)
 
 const int __towrite_used = 1;
 
+void __stdio_exit(void);
+
 void __flush_on_exit()
 {
        __stdio_exit();