X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/25d6952dcf52e6ffc1e4a402af0e2d3c17ac3935..16894e8e53dfc85b8bdc64d87eeb476f2f44c402:/src/surf/trace_mgr.c diff --git a/src/surf/trace_mgr.c b/src/surf/trace_mgr.c index b5ddf8526e..f8745e9e47 100644 --- a/src/surf/trace_mgr.c +++ b/src/surf/trace_mgr.c @@ -10,10 +10,6 @@ #include "xbt/dict.h" #include "trace_mgr_private.h" #include "surf_private.h" -#include - -XBT_LOG_NEW_DEFAULT_SUBCATEGORY(trace, surf, - "Logging specific to the SURF trace module"); static xbt_dict_t trace_list = NULL; static void _tmgr_trace_free(void *trace) @@ -27,7 +23,7 @@ tmgr_history_t tmgr_history_new(void) h = xbt_new0(s_tmgr_history_t, 1); - h->heap = xbt_heap_new(8, free); /* Why 8 ? Well, why not... */ + h->heap = xbt_heap_new(8, xbt_free_f); /* Why 8 ? Well, why not... */ return h; }