From e385ba0d0df0854d3f46df7bc37785ef4422f278 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Thu, 8 Dec 2005 14:49:09 +0000 Subject: Hide some of the f* *printf, use them as well --- libc/stdio/fileno.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libc/stdio/fileno.c') 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 -- cgit v1.2.3