summaryrefslogtreecommitdiff
path: root/libc/stdio/fputws.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-21 18:32:07 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-21 18:32:07 +0000
commit25fbf2080e743bc6ddd3674789d8836b185cb924 (patch)
tree5ac0343276c82ae209a3373d236be052e6d98bb4 /libc/stdio/fputws.c
parentb27c9f65148e96c01cafe37490d054bdeded5f2a (diff)
Hide some
Diffstat (limited to 'libc/stdio/fputws.c')
-rw-r--r--libc/stdio/fputws.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/stdio/fputws.c b/libc/stdio/fputws.c
index f3270fde8..aa5a514cb 100644
--- a/libc/stdio/fputws.c
+++ b/libc/stdio/fputws.c
@@ -8,11 +8,11 @@
#include "_stdio.h"
extern int __fputws_unlocked(const wchar_t *__restrict ws,
- FILE *__restrict stream);
+ FILE *__restrict stream) attribute_hidden;
#ifdef __DO_UNLOCKED
-int __fputws_unlocked(const wchar_t *__restrict ws,
+int attribute_hidden __fputws_unlocked(const wchar_t *__restrict ws,
register FILE *__restrict stream)
{
size_t n = wcslen(ws);
@@ -20,9 +20,9 @@ int __fputws_unlocked(const wchar_t *__restrict ws,
return (_wstdio_fwrite(ws, n, stream) == n) ? 0 : -1;
}
-weak_alias(__fputws_unlocked,fputws_unlocked);
+weak_alias(__fputws_unlocked,fputws_unlocked)
#ifndef __UCLIBC_HAS_THREADS__
-weak_alias(__fputws_unlocked,fputws);
+weak_alias(__fputws_unlocked,fputws)
#endif
#elif defined __UCLIBC_HAS_THREADS__