summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/getline.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdio/getline.c')
-rw-r--r--lib/libc/stdio/getline.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdio/getline.c b/lib/libc/stdio/getline.c
index 55ad39675b9..68c10104933 100644
--- a/lib/libc/stdio/getline.c
+++ b/lib/libc/stdio/getline.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getline.c,v 1.1 2012/03/21 23:44:35 fgsch Exp $ */
+/* $OpenBSD: getline.c,v 1.2 2015/08/31 02:53:57 guenther Exp $ */
/* $NetBSD: getline.c,v 1.3 2009/12/02 08:46:33 roy Exp $ */
/*
@@ -35,3 +35,4 @@ getline(char **__restrict buf, size_t *__restrict buflen, FILE *__restrict fp)
{
return getdelim(buf, buflen, '\n', fp);
}
+DEF_WEAK(getline);