aboutsummaryrefslogtreecommitdiff
path: root/libio/iofgets_u.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iofgets_u.c')
-rw-r--r--libio/iofgets_u.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libio/iofgets_u.c b/libio/iofgets_u.c
index b2d4d8f..d338ee0 100644
--- a/libio/iofgets_u.c
+++ b/libio/iofgets_u.c
@@ -28,7 +28,7 @@
#include <stdio.h>
char *
-fgets_unlocked (buf, n, fp)
+__fgets_unlocked (buf, n, fp)
char *buf;
int n;
_IO_FILE *fp;
@@ -66,4 +66,6 @@ fgets_unlocked (buf, n, fp)
fp->_IO_file_flags |= old_error;
return result;
}
-libc_hidden_def (fgets_unlocked)
+libc_hidden_def (__fgets_unlocked)
+weak_alias (__fgets_unlocked, fgets_unlocked)
+libc_hidden_weak (fgets_unlocked)