Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
@@ -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);
@@ -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