From 55028d73721175c6147bc209cbc6fd87c021c3ce Mon Sep 17 00:00:00 2001 From: mquinson Date: Fri, 23 Mar 2007 21:14:57 +0000 Subject: [PATCH 1/1] Fix the prototype of getline on platforms where we need to redefine it (non-GNU) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3348 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/xbt/getline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xbt/getline.c b/src/xbt/getline.c index f228d37a97..ecf94b34a2 100644 --- a/src/xbt/getline.c +++ b/src/xbt/getline.c @@ -23,7 +23,7 @@ #include "portable.h" #ifndef HAVE_GETLINE -ssize_t getline(char **buf, size_t *n, FILE *stream) { +long getline(char **buf, size_t *n, FILE *stream) { int i, ch; -- 2.20.1