Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove borland-compiler related cruft
[simgrid.git] / teshsuite / xbt / graphxml_usage / graphxml_usage.c
index 7c4fe73..767dbeb 100644 (file)
@@ -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. */
 
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif
-
 #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++) {
-        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';
@@ -158,10 +154,6 @@ void test(char *graph_file)
 
 }
 
-#ifdef __BORLANDC__
-#pragma argsused
-#endif
-
 int main(int argc, char **argv)
 {
   xbt_init(&argc, argv);