From: schnorr Date: Thu, 5 Apr 2012 08:58:23 +0000 (+0200) Subject: [trace] move categories dictionary declaration to interface file X-Git-Tag: v3_7~96 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/926d5ddef86348602520f2a40cb5764306aa24c1 [trace] move categories dictionary declaration to interface file --- diff --git a/src/instr/instr_config.c b/src/instr/instr_config.c index c9de3a36ad..e4f111480d 100644 --- a/src/instr/instr_config.c +++ b/src/instr/instr_config.c @@ -40,8 +40,6 @@ static int trace_disable_destroy; static int trace_configured = 0; static int trace_active = 0; -xbt_dict_t created_categories; //declared in instr_interface.c - static void TRACE_getopts(void) { trace_enabled = xbt_cfg_get_int(_surf_cfg_set, OPT_TRACING); diff --git a/src/instr/instr_interface.c b/src/instr/instr_interface.c index 3f4cc07da3..5532a6b276 100644 --- a/src/instr/instr_interface.c +++ b/src/instr/instr_interface.c @@ -19,6 +19,7 @@ typedef enum { XBT_LOG_NEW_DEFAULT_SUBCATEGORY (instr_api, instr, "API"); +xbt_dict_t created_categories = NULL; /** \ingroup TRACE_category * \brief Declare a new category with a random color. *