summaryrefslogtreecommitdiff
path: root/libc/misc/wchar/wstdio.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-15 22:41:03 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-15 22:41:03 +0000
commit0d212a2b26a764bba1c8220ee84547247bd78ad8 (patch)
treee34fb551f34f3500c5fafc5234bb95e0b7722d6c /libc/misc/wchar/wstdio.c
parentc50ee9bde4fa794cd2bb962dd1f3f44d0fbf8274 (diff)
make gcc4 happy w/ hidden_def/proto, correct some typos
Diffstat (limited to 'libc/misc/wchar/wstdio.c')
-rw-r--r--libc/misc/wchar/wstdio.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/libc/misc/wchar/wstdio.c b/libc/misc/wchar/wstdio.c
index 69287f871..00311a41d 100644
--- a/libc/misc/wchar/wstdio.c
+++ b/libc/misc/wchar/wstdio.c
@@ -56,6 +56,9 @@
#include <errno.h>
#include <assert.h>
+libc_hidden_proto(fgetwc_unlocked)
+libc_hidden_proto(fputwc_unlocked)
+
#ifndef __UCLIBC_HAS_THREADS__
#ifdef __BCC__
@@ -259,7 +262,6 @@ UNLOCKED(wint_t,fgetwc,(register FILE *stream),(stream))
return wi;
}
-libc_hidden_proto(fgetwc_unlocked)
libc_hidden_def(fgetwc_unlocked)
strong_alias(fgetwc_unlocked,getwc_unlocked)
@@ -269,8 +271,6 @@ strong_alias(fgetwc,getwc)
/**********************************************************************/
#ifdef L_getwchar
-libc_hidden_proto(fgetwc_unlocked)
-
UNLOCKED_STREAM(wint_t,getwchar,(void),(),stdin)
{
register FILE *stream = stdin; /* This helps bcc optimize. */
@@ -282,8 +282,6 @@ UNLOCKED_STREAM(wint_t,getwchar,(void),(),stdin)
/**********************************************************************/
#ifdef L_fgetws
-libc_hidden_proto(fgetwc_unlocked)
-
UNLOCKED(wchar_t *,fgetws,(wchar_t *__restrict ws, int n,
FILE *__restrict stream),(ws, n, stream))
{
@@ -333,7 +331,6 @@ UNLOCKED(wint_t,fputwc,(wchar_t wc, FILE *stream),(wc, stream))
? wc : WEOF;
#endif
}
-libc_hidden_proto(fputwc_unlocked)
libc_hidden_def(fputwc_unlocked)
strong_alias(fputwc_unlocked,putwc_unlocked)
@@ -343,8 +340,6 @@ strong_alias(fputwc,putwc)
/**********************************************************************/
#ifdef L_putwchar
-libc_hidden_proto(fputwc_unlocked)
-
UNLOCKED_STREAM(wint_t,putwchar,(wchar_t wc),(wc),stdout)
{
register FILE *stream = stdout; /* This helps bcc optimize. */