summaryrefslogtreecommitdiffstats
path: root/libc/stdio/fgetc.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-12-02 01:50:58 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-12-02 01:50:58 +0000
commit6fd3ac79613c9e1832513b0f614860be2735993f (patch)
tree5f6bfb750aed249d5951d84de663c03f9e4b82dd /libc/stdio/fgetc.c
parent9acef89e60381a298801e4b221d66b1538072b28 (diff)
downloaduClibc-alpine-6fd3ac79613c9e1832513b0f614860be2735993f.tar.bz2
uClibc-alpine-6fd3ac79613c9e1832513b0f614860be2735993f.tar.xz
Merge from trunk.
Diffstat (limited to 'libc/stdio/fgetc.c')
-rw-r--r--libc/stdio/fgetc.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/libc/stdio/fgetc.c b/libc/stdio/fgetc.c
index c68c1fdb5..78fca8422 100644
--- a/libc/stdio/fgetc.c
+++ b/libc/stdio/fgetc.c
@@ -14,7 +14,7 @@
#ifdef __DO_UNLOCKED
-int __fgetc_unlocked(FILE *stream)
+int attribute_hidden __libc_fgetc_unlocked(FILE *stream)
{
__STDIO_STREAM_VALIDATE(stream);
@@ -69,11 +69,12 @@ int __fgetc_unlocked(FILE *stream)
return EOF;
}
-weak_alias(__fgetc_unlocked,fgetc_unlocked);
-weak_alias(__fgetc_unlocked,getc_unlocked);
+strong_alias(__libc_fgetc_unlocked,__fgetc_unlocked)
+weak_alias(__fgetc_unlocked,fgetc_unlocked)
+weak_alias(__fgetc_unlocked,getc_unlocked)
#ifndef __UCLIBC_HAS_THREADS__
-weak_alias(__fgetc_unlocked,fgetc);
-weak_alias(__fgetc_unlocked,getc);
+weak_alias(__fgetc_unlocked,fgetc)
+weak_alias(__fgetc_unlocked,getc)
#endif
#elif defined __UCLIBC_HAS_THREADS__