A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix the prototype of getline on platforms where we need to redefine it (non-GNU)
[simgrid.git]
/
src
/
xbt
/
getline.c
diff --git
a/src/xbt/getline.c
b/src/xbt/getline.c
index
f228d37
..
ecf94b3
100644
(file)
--- a/
src/xbt/getline.c
+++ b/
src/xbt/getline.c
@@
-23,7
+23,7
@@
#include "portable.h"
#ifndef HAVE_GETLINE
#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;
int i, ch;