summaryrefslogtreecommitdiff
path: root/libc/stdio/fgetc.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-03 23:36:38 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-03 23:36:38 +0000
commit855dca36fe7aa348dc56996385fbbb77fbf3e83d (patch)
treeacb8204659fd3f784cd2fa9248e6ab09861af47b /libc/stdio/fgetc.c
parent86450311ebd0010553252d6d9efadb208dd085cb (diff)
Rename newly created __libc_x (reserved for libpthread overwrites) w/ x_internal, do not use cascading aliases
Diffstat (limited to 'libc/stdio/fgetc.c')
-rw-r--r--libc/stdio/fgetc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libc/stdio/fgetc.c b/libc/stdio/fgetc.c
index 78fca8422..be9322714 100644
--- a/libc/stdio/fgetc.c
+++ b/libc/stdio/fgetc.c
@@ -14,7 +14,7 @@
#ifdef __DO_UNLOCKED
-int attribute_hidden __libc_fgetc_unlocked(FILE *stream)
+int attribute_hidden __fgetc_unlocked_internal(FILE *stream)
{
__STDIO_STREAM_VALIDATE(stream);
@@ -69,12 +69,12 @@ int attribute_hidden __libc_fgetc_unlocked(FILE *stream)
return EOF;
}
-strong_alias(__libc_fgetc_unlocked,__fgetc_unlocked)
-weak_alias(__fgetc_unlocked,fgetc_unlocked)
-weak_alias(__fgetc_unlocked,getc_unlocked)
+strong_alias(__fgetc_unlocked_internal,__fgetc_unlocked)
+weak_alias(__fgetc_unlocked_internal,fgetc_unlocked)
+weak_alias(__fgetc_unlocked_internal,getc_unlocked)
#ifndef __UCLIBC_HAS_THREADS__
-weak_alias(__fgetc_unlocked,fgetc)
-weak_alias(__fgetc_unlocked,getc)
+weak_alias(__fgetc_unlocked_internal,fgetc)
+weak_alias(__fgetc_unlocked_internal,getc)
#endif
#elif defined __UCLIBC_HAS_THREADS__