Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cosmetics
[simgrid.git] / testsuite / surf / maxmin_usage.c
index b206ff5..ba72040 100644 (file)
@@ -7,6 +7,10 @@
 /* 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 <stdlib.h>
 #include <stdio.h>
 #include "surf/maxmin.h"
@@ -14,7 +18,7 @@
 #include "xbt/log.h"
 XBT_LOG_NEW_DEFAULT_CATEGORY(surf_test,"Messages specific for surf example");
 
-#define PRINT_VAR(var) DEBUG1(#var " = %lg\n",lmm_variable_getvalue(var));
+#define PRINT_VAR(var) DEBUG1(#var " = %g\n",lmm_variable_getvalue(var));
 
 /*                               */
 /*        ______                 */
@@ -113,7 +117,11 @@ void test2(void)
   DEBUG0("\n");
 
   lmm_system_free(Sys);
-} 
+}
+
+#ifdef __BORLANDC__
+#pragma argsused
+#endif
 
 int main(int argc, char **argv)
 {