summaryrefslogtreecommitdiff
path: root/libc/stdio/fgetwc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/fgetwc.c')
-rw-r--r--libc/stdio/fgetwc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/stdio/fgetwc.c b/libc/stdio/fgetwc.c
index 716a8e9c0..062d825d6 100644
--- a/libc/stdio/fgetwc.c
+++ b/libc/stdio/fgetwc.c
@@ -113,9 +113,10 @@ libc_hidden_def(fgetwc_unlocked)
strong_alias(fgetwc_unlocked,getwc_unlocked)
#ifndef __UCLIBC_HAS_THREADS__
-strong_alias(fgetwc_unlocked,fgetwc)
libc_hidden_proto(fgetwc)
+strong_alias(fgetwc_unlocked,fgetwc)
libc_hidden_def(fgetwc)
+
strong_alias(fgetwc_unlocked,getwc)
#endif
@@ -136,6 +137,6 @@ wint_t fgetwc(register FILE *stream)
return retval;
}
libc_hidden_def(fgetwc)
-strong_alias(fgetwc,getwc)
+strong_alias(fgetwc,getwc)
#endif