summaryrefslogtreecommitdiff
path: root/libc/stdio
diff options
context:
space:
mode:
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