From 0d212a2b26a764bba1c8220ee84547247bd78ad8 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sun, 15 Jan 2006 22:41:03 +0000 Subject: make gcc4 happy w/ hidden_def/proto, correct some typos --- libc/misc/wchar/wstdio.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'libc/misc/wchar') 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 #include +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. */ -- cgit v1.2.3