summaryrefslogtreecommitdiff
path: root/libc/stdio
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-11-17 11:33:35 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-11-17 11:33:35 +0100
commit1ea3c5e6f11b91466546020f4e9ec13d1ab81be3 (patch)
tree76ea42a23a234c69511a9b65782bccfd289e58bd /libc/stdio
parent90d597eac8ebbb9ebfa065f6873d28646303f814 (diff)
stdio: hide _stdio_validate_FILE
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/stdio')
-rw-r--r--libc/stdio/_stdio.c2
-rw-r--r--libc/stdio/_stdio.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/stdio/_stdio.c b/libc/stdio/_stdio.c
index 6c11451fc..2abd63a4d 100644
--- a/libc/stdio/_stdio.c
+++ b/libc/stdio/_stdio.c
@@ -283,7 +283,7 @@ void attribute_hidden _stdio_init(void)
#ifndef NDEBUG
-void _stdio_validate_FILE(const FILE *stream)
+void attribute_hidden _stdio_validate_FILE(const FILE *stream)
{
#ifdef __UCLIBC_HAS_THREADS__
assert(((unsigned int)(stream->__user_locking)) <= 2);
diff --git a/libc/stdio/_stdio.h b/libc/stdio/_stdio.h
index ec98f9e0e..2c0efc986 100644
--- a/libc/stdio/_stdio.h
+++ b/libc/stdio/_stdio.h
@@ -408,7 +408,7 @@ extern int __stdio_adjust_position(FILE *__restrict stream, __offmax_t *pos) att
#ifdef NDEBUG
#define __STDIO_STREAM_VALIDATE(S) ((void)0)
#else
-extern void _stdio_validate_FILE(const FILE *stream);
+extern void _stdio_validate_FILE(const FILE *stream) attribute_hidden;
#define __STDIO_STREAM_VALIDATE(S) _stdio_validate_FILE((S))
#endif