X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/27555647557a800558f9adfc205e5d9340d708d1..b3a756fa6fe08c4f377ce22d205ef5c1b28bd250:/src/instr/instr_paje_types.cpp?ds=inline diff --git a/src/instr/instr_paje_types.cpp b/src/instr/instr_paje_types.cpp index c5dc7fee01..333e8062cb 100644 --- a/src/instr/instr_paje_types.cpp +++ b/src/instr/instr_paje_types.cpp @@ -66,7 +66,7 @@ void PJ_type_free (type_t type) type = nullptr; } -static void recursiveDestroyType (type_t type) +void recursiveDestroyType (type_t type) { XBT_DEBUG("recursiveDestroyType %s", type->name); xbt_dict_cursor_t cursor = nullptr; @@ -78,12 +78,6 @@ static void recursiveDestroyType (type_t type) PJ_type_free(type); } -void PJ_type_free_all () -{ - recursiveDestroyType (PJ_type_get_root()); - rootType = nullptr; -} - type_t PJ_type_get (const char *name, type_t father) { type_t ret = PJ_type_get_or_null (name, father);