From b202c4e9385ec4d9a9f67a006ee363a2618051d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Courr=C3=A8ges-Anglas?= Date: Sat, 13 Apr 2013 12:43:23 +0200 Subject: Make our fallback getline implementation re-usable --- src/history.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/history.c') diff --git a/src/history.c b/src/history.c index 82c94fe..a63658c 100644 --- a/src/history.c +++ b/src/history.c @@ -74,7 +74,7 @@ static struct history { } histories[hist_COUNT]; #ifndef HAVE_GETLINE -static ssize_t +ssize_t getline(char **lineptr, size_t *n, FILE *f) { size_t ofs; -- cgit v1.2.3