summaryrefslogtreecommitdiffstats
path: root/libc/stdio/fgets.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/fgets.c
parent3b3434516a3415d7e0f4e1d50c553876dcb337b2 (diff)
downloaduClibc-alpine-e523bd15353350c3480b8a1820a0944b0fa8212e.tar.bz2
uClibc-alpine-e523bd15353350c3480b8a1820a0944b0fa8212e.tar.xz
Big fricking merge from trunk.
Diffstat (limited to 'libc/stdio/fgets.c')
-rw-r--r--libc/stdio/fgets.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/libc/stdio/fgets.c b/libc/stdio/fgets.c
index 52c856f35..5baf63a58 100644
--- a/libc/stdio/fgets.c
+++ b/libc/stdio/fgets.c
@@ -58,15 +58,16 @@ char attribute_hidden *__fgets_unlocked(char *__restrict s, int n,
return NULL;
}
-weak_alias(__fgets_unlocked,fgets_unlocked);
+weak_alias(__fgets_unlocked,fgets_unlocked)
#ifndef __UCLIBC_HAS_THREADS__
-weak_alias(__fgets_unlocked,fgets);
+hidden_strong_alias(__fgets_unlocked,__fgets)
+weak_alias(__fgets_unlocked,fgets)
#endif
#elif defined __UCLIBC_HAS_THREADS__
-char *fgets(char *__restrict s, int n,
+char attribute_hidden *__fgets(char *__restrict s, int n,
register FILE * __restrict stream)
{
char *retval;
@@ -80,5 +81,6 @@ char *fgets(char *__restrict s, int n,
return retval;
}
+strong_alias(__fgets,fgets)
#endif