summaryrefslogtreecommitdiff
path: root/libc/stdio/putwchar.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-14 00:58:03 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-14 00:58:03 +0000
commitaf0172162f7c653cad6a11ed1c1a5459bc154465 (patch)
tree70031dad1e7286d58762da7b9e3d3f93d043c278 /libc/stdio/putwchar.c
parentc8609543a9a8bf6559c2931dbbef6b3c41b3fbf2 (diff)
hidden_def/hidden_proto: convert all users (I hope) termios split, add some missing headers, other jump relocs removed
Diffstat (limited to 'libc/stdio/putwchar.c')
-rw-r--r--libc/stdio/putwchar.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/libc/stdio/putwchar.c b/libc/stdio/putwchar.c
index d093656e6..e25f35e5e 100644
--- a/libc/stdio/putwchar.c
+++ b/libc/stdio/putwchar.c
@@ -9,23 +9,25 @@
#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;
+/* psm: should this be fputwc? */
+libc_hidden_proto(fputc)
wint_t putwchar(wchar_t wc)
{
- return __fputc(wc, stdout);
+ return fputc(wc, stdout);
}
#endif