From: mquinson Date: Fri, 23 Mar 2007 21:14:57 +0000 (+0000) Subject: Fix the prototype of getline on platforms where we need to redefine it (non-GNU) X-Git-Tag: v3.3~2012 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/55028d73721175c6147bc209cbc6fd87c021c3ce?hp=fdd5a5f1bea4c3aced2cab95a9a2191b5090042d 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 --- 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;