diff options
Diffstat (limited to 'libc/stdio/getline.c')
-rw-r--r-- | libc/stdio/getline.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libc/stdio/getline.c b/libc/stdio/getline.c index 7424dc024..943526abe 100644 --- a/libc/stdio/getline.c +++ b/libc/stdio/getline.c @@ -5,12 +5,13 @@ * Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details. */ -#define __getdelim __libc_getdelim +#define getdelim __getdelim #include "_stdio.h" -ssize_t getline(char **__restrict lineptr, size_t *__restrict n, +ssize_t attribute_hidden __getline(char **__restrict lineptr, size_t *__restrict n, FILE *__restrict stream) { - return __getdelim(lineptr, n, '\n', stream); + return getdelim(lineptr, n, '\n', stream); } +strong_alias(__getline,getline) |