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
remove warnings 2
[simgrid.git]
/
tools
/
tesh
/
tesh.c
diff --git
a/tools/tesh/tesh.c
b/tools/tesh/tesh.c
index
ae83f64
..
0c8b21b
100644
(file)
--- a/
tools/tesh/tesh.c
+++ b/
tools/tesh/tesh.c
@@
-11,8
+11,6
@@
#pragma hdrstop
#endif
#pragma hdrstop
#endif
-#include "simgrid_config.h" //For getline, keep that include first
-
#include "tesh.h"
#include "xbt.h"
#include "tesh.h"
#include "xbt.h"
@@
-106,7
+104,7
@@
static void handle_suite(const char *filename, FILE * IN)
buff = xbt_strbuff_new();
rctx = rctx_new();
buff = xbt_strbuff_new();
rctx = rctx_new();
- while (getline(&line, &len, IN) != -1) {
+ while (
xbt_
getline(&line, &len, IN) != -1) {
line_num++;
/* Count the line length while checking wheather it's blank */
line_num++;
/* Count the line length while checking wheather it's blank */