Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] declaring dictionary where it is allocated
[simgrid.git] / src / instr / instr_config.c
index dfbbb7c..3fb5dbf 100644 (file)
@@ -28,8 +28,7 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY (instr_config, instr, "Configuration");
 static int trace_configured = 0;
 static int trace_active = 0;
 
-extern xbt_dict_t created_categories; //declared in instr_interface.c
-extern xbt_dict_t defined_types; //declared in instr_interface.c
+xbt_dict_t created_categories; //declared in instr_interface.c
 
 int TRACE_start()
 {
@@ -103,7 +102,6 @@ int TRACE_start()
 //  }
   }
   /* other trace initialization */
-  defined_types = xbt_dict_new();
   created_categories = xbt_dict_new();
   TRACE_msg_task_alloc();
   TRACE_surf_alloc();