summaryrefslogtreecommitdiffstats
path: root/libc/stdio/fgetc.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-01-07 02:32:27 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-01-07 02:32:27 +0000
commite523bd15353350c3480b8a1820a0944b0fa8212e (patch)
tree60485116f9c62c306bb753f12f9d4eb79d16aa4e /libc/stdio/fgetc.c
parent3b3434516a3415d7e0f4e1d50c553876dcb337b2 (diff)
downloaduClibc-alpine-e523bd15353350c3480b8a1820a0944b0fa8212e.tar.bz2
uClibc-alpine-e523bd15353350c3480b8a1820a0944b0fa8212e.tar.xz
Big fricking merge from trunk.
Diffstat (limited to 'libc/stdio/fgetc.c')
-rw-r--r--libc/stdio/fgetc.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/libc/stdio/fgetc.c b/libc/stdio/fgetc.c
index be9322714..d83b6c92a 100644
--- a/libc/stdio/fgetc.c
+++ b/libc/stdio/fgetc.c
@@ -71,15 +71,17 @@ int attribute_hidden __fgetc_unlocked_internal(FILE *stream)
strong_alias(__fgetc_unlocked_internal,__fgetc_unlocked)
weak_alias(__fgetc_unlocked_internal,fgetc_unlocked)
+hidden_strong_alias(__fgetc_unlocked_internal,__getc_unlocked)
weak_alias(__fgetc_unlocked_internal,getc_unlocked)
#ifndef __UCLIBC_HAS_THREADS__
+hidden_strong_alias(__fgetc_unlocked_internal,__fgetc)
weak_alias(__fgetc_unlocked_internal,fgetc)
weak_alias(__fgetc_unlocked_internal,getc)
#endif
#elif defined __UCLIBC_HAS_THREADS__
-int fgetc(register FILE *stream)
+int attribute_hidden __fgetc(register FILE *stream)
{
if (stream->__user_locking != 0) {
return __GETC_UNLOCKED_MACRO(stream);
@@ -91,7 +93,7 @@ int fgetc(register FILE *stream)
return retval;
}
}
-
-weak_alias(fgetc,getc);
+strong_alias(__fgetc,fgetc)
+weak_alias(__fgetc,getc)
#endif