summaryrefslogtreecommitdiff
path: root/libc/stdio/getline.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/getline.c')
-rw-r--r--libc/stdio/getline.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/stdio/getline.c b/libc/stdio/getline.c
index 0426d37f5..aef3de944 100644
--- a/libc/stdio/getline.c
+++ b/libc/stdio/getline.c
@@ -7,6 +7,8 @@
#include "_stdio.h"
+libc_hidden_proto(getline)
+
libc_hidden_proto(getdelim)
ssize_t getline(char **__restrict lineptr, size_t *__restrict n,
@@ -14,5 +16,4 @@ ssize_t getline(char **__restrict lineptr, size_t *__restrict n,
{
return getdelim(lineptr, n, '\n', stream);
}
-libc_hidden_proto(getline)
libc_hidden_def(getline)