summaryrefslogtreecommitdiffstats
path: root/libc/stdio/fgets.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/fgets.c')
-rw-r--r--libc/stdio/fgets.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/stdio/fgets.c b/libc/stdio/fgets.c
index 4b32ad612..743a2ea54 100644
--- a/libc/stdio/fgets.c
+++ b/libc/stdio/fgets.c
@@ -5,11 +5,13 @@
* Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
*/
+#define __fgetc_unlocked __libc_fgetc_unlocked
+
#include "_stdio.h"
#ifdef __DO_UNLOCKED
-char *__fgets_unlocked(char *__restrict s, int n,
+char attribute_hidden *__fgets_unlocked(char *__restrict s, int n,
register FILE * __restrict stream)
{
register char *p;