X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/38fad1a54be8df52b153c7f9ca4c40ced5dba8c9..f4d1afaaa1e4fee55a98707443c05bdbc9abb42c:/src/surf/trace_mgr.c?ds=sidebyside diff --git a/src/surf/trace_mgr.c b/src/surf/trace_mgr.c index aee5753261..aad40d7223 100644 --- a/src/surf/trace_mgr.c +++ b/src/surf/trace_mgr.c @@ -23,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; } @@ -108,8 +108,8 @@ tmgr_trace_t tmgr_trace_new(const char *filename) tmgr_trace_t tmgr_empty_trace_new(void) { tmgr_trace_t trace = NULL; - /*double periodicity = -1.0; No periodicity by default; unused variables - tmgr_event_t last_event = NULL;*/ + /*double periodicity = -1.0; No periodicity by default; unused variables + tmgr_event_t last_event = NULL; */ s_tmgr_event_t event; trace = xbt_new0(s_tmgr_trace_t, 1);