summaryrefslogtreecommitdiff
path: root/libc/stdio/fileno.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-08 14:49:09 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-08 14:49:09 +0000
commite385ba0d0df0854d3f46df7bc37785ef4422f278 (patch)
treef752d766a8f50590ba0c5f9319146a2cc911648f /libc/stdio/fileno.c
parent960acb5e3248b2ba657f65ea011703c57539c5a8 (diff)
Hide some of the f* *printf, use them as well
Diffstat (limited to 'libc/stdio/fileno.c')
-rw-r--r--libc/stdio/fileno.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/stdio/fileno.c b/libc/stdio/fileno.c
index 4ea21d748..526a4eb9f 100644
--- a/libc/stdio/fileno.c
+++ b/libc/stdio/fileno.c
@@ -23,12 +23,13 @@ int attribute_hidden __fileno_unlocked(register FILE *stream)
weak_alias(__fileno_unlocked,fileno_unlocked);
#ifndef __UCLIBC_HAS_THREADS__
+hidden_weak_alias(__fileno_unlocked,__fileno);
weak_alias(__fileno_unlocked,fileno);
#endif
#elif defined __UCLIBC_HAS_THREADS__
-int fileno(register FILE *stream)
+int attribute_hidden __fileno(register FILE *stream)
{
int retval;
__STDIO_AUTO_THREADLOCK_VAR;
@@ -41,5 +42,5 @@ int fileno(register FILE *stream)
return retval;
}
-
+strong_alias(__fileno,fileno)
#endif