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 borland-compiler related cruft
[simgrid.git]
/
teshsuite
/
xbt
/
graphxml_usage
/
graphxml_usage.c
diff --git
a/teshsuite/xbt/graphxml_usage/graphxml_usage.c
b/teshsuite/xbt/graphxml_usage/graphxml_usage.c
index
7c4fe73
..
767dbeb
100644
(file)
--- a/
teshsuite/xbt/graphxml_usage/graphxml_usage.c
+++ b/
teshsuite/xbt/graphxml_usage/graphxml_usage.c
@@
-6,10
+6,6
@@
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif
-
#include <stdio.h>
#ifdef _MSC_VER
#include <stdio.h>
#ifdef _MSC_VER
@@
-80,7
+76,7
@@
void test(char *graph_file)
buf = xbt_new0(char, n * 20);
for (i = 0; i < n; i++) {
for (j = 0; j < n; j++) {
buf = xbt_new0(char, n * 20);
for (i = 0; i < n; i++) {
for (j = 0; j < n; j++) {
- sprintf(buf + strlen(buf), "%
e
\t", adj[i * n + j]);
+ sprintf(buf + strlen(buf), "%
6.3f
\t", adj[i * n + j]);
}
XBT_INFO("%s", buf);
buf[0] = '\000';
}
XBT_INFO("%s", buf);
buf[0] = '\000';
@@
-158,10
+154,6
@@
void test(char *graph_file)
}
}
-#ifdef __BORLANDC__
-#pragma argsused
-#endif
-
int main(int argc, char **argv)
{
xbt_init(&argc, argv);
int main(int argc, char **argv)
{
xbt_init(&argc, argv);