summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-09-11 15:13:35 -0400
committerRich Felker <dalias@aerifal.cx>2018-09-12 14:34:37 -0400
commit6d47488e8616dfc24e58aeb56db520ac7c80421e (patch)
tree2cbc0b1dd544070d2c2a9d516d6afe1127eda454
parentc04c6993dc87d596e47f2d8a66ef9252890b7468 (diff)
downloadmusl-6d47488e8616dfc24e58aeb56db520ac7c80421e.tar.gz
musl-6d47488e8616dfc24e58aeb56db520ac7c80421e.tar.bz2
musl-6d47488e8616dfc24e58aeb56db520ac7c80421e.tar.xz
musl-6d47488e8616dfc24e58aeb56db520ac7c80421e.zip
hide purely dependency-triggering functions in stdio __toread & __towrite
-rw-r--r--src/stdio/__toread.c2
-rw-r--r--src/stdio/__towrite.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/stdio/__toread.c b/src/stdio/__toread.c
index 8f9f27bd..309ee6e8 100644
--- a/src/stdio/__toread.c
+++ b/src/stdio/__toread.c
@@ -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();
}
diff --git a/src/stdio/__towrite.c b/src/stdio/__towrite.c
index 01998677..4c9c66ae 100644
--- a/src/stdio/__towrite.c
+++ b/src/stdio/__towrite.c
@@ -17,7 +17,7 @@ int __towrite(FILE *f)
return 0;
}
-void __towrite_needs_stdio_exit()
+hidden void __towrite_needs_stdio_exit()
{
__stdio_exit_needed();
}