From d482ef60da96645599b808bb74fe014e1ab4671e Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Fri, 16 Dec 2005 00:38:38 +0000 Subject: Get rid of warnings, use internals, create new hidden versions --- libc/stdio/fgetwc.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'libc/stdio/fgetwc.c') diff --git a/libc/stdio/fgetwc.c b/libc/stdio/fgetwc.c index cb200851b..45ff86b80 100644 --- a/libc/stdio/fgetwc.c +++ b/libc/stdio/fgetwc.c @@ -108,16 +108,17 @@ wint_t attribute_hidden __fgetwc_unlocked(register FILE *stream) return wi; } -weak_alias(__fgetwc_unlocked,fgetwc_unlocked); -weak_alias(__fgetwc_unlocked,getwc_unlocked); +weak_alias(__fgetwc_unlocked,fgetwc_unlocked) +weak_alias(__fgetwc_unlocked,getwc_unlocked) #ifndef __UCLIBC_HAS_THREADS__ -weak_alias(__fgetwc_unlocked,fgetwc); -weak_alias(__fgetwc_unlocked,getwc); +hidden_strong_alias(__fgetwc_unlocked,__fgetwc) +weak_alias(__fgetwc_unlocked,fgetwc) +weak_alias(__fgetwc_unlocked,getwc) #endif #elif defined __UCLIBC_HAS_THREADS__ -wint_t fgetwc(register FILE *stream) +wint_t attribute_hidden __fgetwc(register FILE *stream) { wint_t retval; __STDIO_AUTO_THREADLOCK_VAR; @@ -130,7 +131,7 @@ wint_t fgetwc(register FILE *stream) return retval; } - -weak_alias(fgetwc,getwc); +strong_alias(__fgetwc,fgetwc) +weak_alias(__fgetwc,getwc) #endif -- cgit v1.2.3