summaryrefslogtreecommitdiffstats
path: root/libc/stdio/putwchar.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-02-26 03:57:14 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-02-26 03:57:14 +0000
commit9921832fa13cef31006cfa69bc5574636c36ac0f (patch)
tree4faa87a1fbc9842126d3bdc61c0d64285ebcc849 /libc/stdio/putwchar.c
parent292e2d7a707449b531422d37cec4608d304da24e (diff)
downloaduClibc-alpine-9921832fa13cef31006cfa69bc5574636c36ac0f.tar.bz2
uClibc-alpine-9921832fa13cef31006cfa69bc5574636c36ac0f.tar.xz
Merge from trunk.
Diffstat (limited to 'libc/stdio/putwchar.c')
-rw-r--r--libc/stdio/putwchar.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/libc/stdio/putwchar.c b/libc/stdio/putwchar.c
index d093656e6..7a6501c28 100644
--- a/libc/stdio/putwchar.c
+++ b/libc/stdio/putwchar.c
@@ -9,23 +9,26 @@
#ifdef __DO_UNLOCKED
-wint_t __putwchar_unlocked(wchar_t wc)
+libc_hidden_proto(fputwc_unlocked)
+
+wint_t putwchar_unlocked(wchar_t wc)
{
- return __fputwc_unlocked(wc, stdout);
+ return fputwc_unlocked(wc, stdout);
}
-weak_alias(__putwchar_unlocked,putwchar_unlocked)
#ifndef __UCLIBC_HAS_THREADS__
-weak_alias(__putwchar_unlocked,putwchar)
+strong_alias(putwchar_unlocked,putwchar)
#endif
#elif defined __UCLIBC_HAS_THREADS__
-extern int __fputc (int __c, FILE *__stream) attribute_hidden;
+libc_hidden_proto(__fputc_unlocked)
+/* psm: should this be fputwc? */
+libc_hidden_proto(fputc)
wint_t putwchar(wchar_t wc)
{
- return __fputc(wc, stdout);
+ return fputc(wc, stdout);
}
#endif