diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-14 23:11:32 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:24 +0200 |
commit | 6da1949cb5c4245cfb1fcee1efadb049904be26f (patch) | |
tree | 76d9cbe907b4337435aea67335ae431780d874c9 /libc/stdio/fputwc.c | |
parent | 0eb904a89cbd1b5fc61cd9fedbf737c55fcaa303 (diff) |
use fputwc in putwchar()
use fputwc instead of fputc
add hidden fputwc to avoid jump relocation
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/stdio/fputwc.c')
-rw-r--r-- | libc/stdio/fputwc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/stdio/fputwc.c b/libc/stdio/fputwc.c index 7f46f48b8..b699e9d4b 100644 --- a/libc/stdio/fputwc.c +++ b/libc/stdio/fputwc.c @@ -19,6 +19,7 @@ libc_hidden_def(fputwc_unlocked) strong_alias(fputwc_unlocked,putwc_unlocked) #ifndef __UCLIBC_HAS_THREADS__ strong_alias(fputwc_unlocked,fputwc) +libc_hidden_def(fputwc) strong_alias(fputwc_unlocked,putwc) #endif @@ -37,6 +38,7 @@ wint_t fputwc(wchar_t wc, register FILE *stream) return retval; } +libc_hidden_def(fputwc) strong_alias(fputwc,putwc) |