hide purely dependency-triggering functions in stdio __toread & __towrite
authorRich Felker <dalias@aerifal.cx>
Tue, 11 Sep 2018 19:13:35 +0000 (15:13 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 12 Sep 2018 18:34:37 +0000 (14:34 -0400)
src/stdio/__toread.c
src/stdio/__towrite.c

index 8f9f27bd9554a8133c59c57edd373ac341649a3e..309ee6e8961e4d0bd43b141cef9a89a105531369 100644 (file)
@@ -13,7 +13,7 @@ int __toread(FILE *f)
        return (f->flags & F_EOF) ? EOF : 0;
 }
 
-void __toread_needs_stdio_exit()
+hidden void __toread_needs_stdio_exit()
 {
        __stdio_exit_needed();
 }
index 01998677610d689ab5999e6e056fe8af6c1ee20e..4c9c66ae79c9e8c5abe8750df8ebfce149b1e061 100644 (file)
@@ -17,7 +17,7 @@ int __towrite(FILE *f)
        return 0;
 }
 
-void __towrite_needs_stdio_exit()
+hidden void __towrite_needs_stdio_exit()
 {
        __stdio_exit_needed();
 }