Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Cleanup mc_hash
[simgrid.git] / src / instr / instr_interface.c
index a8e97d3..7fedc83 100644 (file)
@@ -6,7 +6,6 @@
 
 #include "simgrid_config.h"
 
 
 #include "simgrid_config.h"
 
-#ifdef HAVE_TRACING
 #include "instr/instr_private.h"
 #include "surf/surf.h"
 #include "surf/surf_private.h"
 #include "instr/instr_private.h"
 #include "surf/surf.h"
 #include "surf/surf_private.h"
@@ -398,7 +397,7 @@ int TRACE_platform_graph_export_graphviz (const char *filename)
   xbt_graph_t g = instr_routing_platform_graph();
   if (g == NULL) return 0;
   instr_routing_platform_graph_export_graphviz (g, filename);
   xbt_graph_t g = instr_routing_platform_graph();
   if (g == NULL) return 0;
   instr_routing_platform_graph_export_graphviz (g, filename);
-  xbt_graph_free_graph (g, xbt_free, xbt_free, NULL);
+  xbt_graph_free_graph(g, xbt_free_f, xbt_free_f, NULL);
   return 1;
 }
 
   return 1;
 }
 
@@ -1164,5 +1163,3 @@ void TRACE_resume (void)
 {
   instr_resume_tracing();
 }
 {
   instr_resume_tracing();
 }
-
-#endif /* HAVE_TRACING */