summaryrefslogtreecommitdiff
path: root/libc/stdio/getline.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-03 00:34:49 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-03 00:34:49 +0000
commitc885bf5cf94a12202f849477a845d728cbd12889 (patch)
tree106e36d57ea684166ebde05a8d4be54664e0e6ce /libc/stdio/getline.c
parentca3067b8cec6e7ffd600c92510197df5aedd8606 (diff)
More hiding, including __mempcpy
Diffstat (limited to 'libc/stdio/getline.c')
-rw-r--r--libc/stdio/getline.c7
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)