summaryrefslogtreecommitdiff
path: root/libc/stdio/fgetc.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-25 00:53:38 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-25 00:53:38 +0000
commit5c2de4b255999bc1d6d76cc87edd8c37b72231ab (patch)
tree9f79f787e98ff04d44b2abb5a98f5c8eaec2bd10 /libc/stdio/fgetc.c
parentfe76834d374746e8a43b4be5a5e5e9ff42fe77c1 (diff)
Change internal name __f[ge,pu]tc_unlocked to __libc_x
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 3df25c39a..78fca8422 100644
--- a/libc/stdio/fgetc.c
+++ b/libc/stdio/fgetc.c
@@ -14,7 +14,7 @@
#ifdef __DO_UNLOCKED
-int attribute_hidden __fgetc_unlocked(FILE *stream)
+int attribute_hidden __libc_fgetc_unlocked(FILE *stream)
{
__STDIO_STREAM_VALIDATE(stream);
@@ -69,11 +69,12 @@ int attribute_hidden __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__