summaryrefslogtreecommitdiff
path: root/libc/stdio/fgets.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-03 23:36:38 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-03 23:36:38 +0000
commit855dca36fe7aa348dc56996385fbbb77fbf3e83d (patch)
treeacb8204659fd3f784cd2fa9248e6ab09861af47b /libc/stdio/fgets.c
parent86450311ebd0010553252d6d9efadb208dd085cb (diff)
Rename newly created __libc_x (reserved for libpthread overwrites) w/ x_internal, do not use cascading aliases
Diffstat (limited to 'libc/stdio/fgets.c')
-rw-r--r--libc/stdio/fgets.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/stdio/fgets.c b/libc/stdio/fgets.c
index 743a2ea54..52c856f35 100644
--- a/libc/stdio/fgets.c
+++ b/libc/stdio/fgets.c
@@ -5,8 +5,6 @@
* Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
*/
-#define __fgetc_unlocked __libc_fgetc_unlocked
-
#include "_stdio.h"
#ifdef __DO_UNLOCKED
@@ -36,7 +34,7 @@ char attribute_hidden *__fgets_unlocked(char *__restrict s, int n,
break;
}
} else {
- if ((c = __fgetc_unlocked(stream)) == EOF) {
+ if ((c = __fgetc_unlocked_internal(stream)) == EOF) {
if (__FERROR_UNLOCKED(stream)) {
goto ERROR;
}