From 926d5ddef86348602520f2a40cb5764306aa24c1 Mon Sep 17 00:00:00 2001 From: schnorr Date: Thu, 5 Apr 2012 10:58:23 +0200 Subject: [PATCH] [trace] move categories dictionary declaration to interface file --- src/instr/instr_config.c | 2 -- src/instr/instr_interface.c | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) 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. * -- 2.20.1