Browse Source

stdio: hide _stdio_validate_FILE

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer 12 years ago
parent
commit
1ea3c5e6f1
2 changed files with 2 additions and 2 deletions
  1. 1 1
      libc/stdio/_stdio.c
  2. 1 1
      libc/stdio/_stdio.h

+ 1 - 1
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);

+ 1 - 1
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