about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-07-02 22:48:56 -0400
committerRich Felker <dalias@aerifal.cx>2012-07-02 22:48:56 -0400
commit8e26a591d059382cd28b96e457ede2fe07c550c7 (patch)
tree53bfe530f353e644d1a04fabaac11de6a672b0cf
parent007c03f84f5c4666d7260a53d67249ce4bccc140 (diff)
downloadmusl-8e26a591d059382cd28b96e457ede2fe07c550c7.tar.gz
musl-8e26a591d059382cd28b96e457ede2fe07c550c7.tar.xz
musl-8e26a591d059382cd28b96e457ede2fe07c550c7.zip
fix missing function declarations for __stdio_exit
-rw-r--r--src/stdio/__toread.c2
-rw-r--r--src/stdio/__towrite.c2
2 files changed, 4 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();
diff --git a/src/stdio/__towrite.c b/src/stdio/__towrite.c
index ba67e0df..380ea396 100644
--- a/src/stdio/__towrite.c
+++ b/src/stdio/__towrite.c
@@ -19,6 +19,8 @@ int __towrite(FILE *f)
 
 const int __towrite_used = 1;
 
+void __stdio_exit(void);
+
 void __flush_on_exit()
 {
 	__stdio_exit();