summaryrefslogtreecommitdiff
path: root/libc/stdio/fileno.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/fileno.c')
-rw-r--r--libc/stdio/fileno.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdio/fileno.c b/libc/stdio/fileno.c
index fb895b8a0..deeff71b1 100644
--- a/libc/stdio/fileno.c
+++ b/libc/stdio/fileno.c
@@ -32,6 +32,7 @@ libc_hidden_def(fileno)
#elif defined __UCLIBC_HAS_THREADS__
+libc_hidden_proto(fileno)
int fileno(register FILE *stream)
{
int retval;
@@ -45,7 +46,6 @@ int fileno(register FILE *stream)
return retval;
}
-libc_hidden_proto(fileno)
libc_hidden_def(fileno)
#endif