X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/45c3f1cfee86fb48c96d53f8267f99b6db6e3d7a..c7776b0eba6a1d477144244726ee9067ed723db6:/src/instr/instr_interface.c?ds=sidebyside diff --git a/src/instr/instr_interface.c b/src/instr/instr_interface.c index a8e97d3409..123156b2ab 100644 --- a/src/instr/instr_interface.c +++ b/src/instr/instr_interface.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2010-2014. The SimGrid Team. +/* Copyright (c) 2010-2015. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -6,7 +6,6 @@ #include "simgrid_config.h" -#ifdef HAVE_TRACING #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_free_graph (g, xbt_free, xbt_free, NULL); + xbt_graph_free_graph(g, xbt_free_f, xbt_free_f, NULL); return 1; } @@ -1164,5 +1163,3 @@ void TRACE_resume (void) { instr_resume_tracing(); } - -#endif /* HAVE_TRACING */