diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-12-06 03:45:53 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-12-06 03:45:53 +0000 |
commit | 821e7539de6922c96e2a4fc5baa11fdc335072c9 (patch) | |
tree | 8ee7f5ac1797850d304a3b10ff4a7ca4d4f2a2dc /libc/stdio/getline.c | |
parent | bd7bace793536f027790396d6358c14299e8595b (diff) | |
download | uClibc-alpine-821e7539de6922c96e2a4fc5baa11fdc335072c9.tar.bz2 uClibc-alpine-821e7539de6922c96e2a4fc5baa11fdc335072c9.tar.xz |
More merging from trunk.
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) |