X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9712e9b69da18f664d51ce81323234f18494fdd3..e39818514394e11f22aacc15361027a2d2842532:/src/xbt/log.c diff --git a/src/xbt/log.c b/src/xbt/log.c index 9738053597..767f8835ea 100644 --- a/src/xbt/log.c +++ b/src/xbt/log.c @@ -108,10 +108,10 @@ static void xbt_log_connect_categories(void) XBT_LOG_CONNECT(xbt_dict_elm); XBT_LOG_CONNECT(xbt_dyn); XBT_LOG_CONNECT(xbt_ex); + XBT_LOG_CONNECT(xbt_automaton); XBT_LOG_CONNECT(xbt_backtrace); XBT_LOG_CONNECT(xbt_exception); XBT_LOG_CONNECT(xbt_graph); - XBT_LOG_CONNECT(xbt_heap); XBT_LOG_CONNECT(xbt_mallocator); XBT_LOG_CONNECT(xbt_memory_map); XBT_LOG_CONNECT(xbt_parmap); @@ -238,7 +238,6 @@ static void xbt_log_connect_categories(void) XBT_LOG_CONNECT(surf_cpu_cas); XBT_LOG_CONNECT(surf_cpu_ti); XBT_LOG_CONNECT(surf_energy); - XBT_LOG_CONNECT(surf_file); XBT_LOG_CONNECT(surf_kernel); XBT_LOG_CONNECT(surf_lagrange); XBT_LOG_CONNECT(surf_lagrange_dichotomy); @@ -400,7 +399,8 @@ void _xbt_log_event_log(xbt_log_event_t ev, const char *fmt, ...) * To circumvent the problem, we define the macro DISABLE_XBT_LOG_CAT_INIT() to hide the real _xbt_log_cat_init(). The * macro has to be called at the beginning of the affected functions. */ -static int fake_xbt_log_cat_init(xbt_log_category_t category, e_xbt_log_priority_t priority) +static int fake_xbt_log_cat_init(xbt_log_category_t XBT_ATTRIB_UNUSED category, + e_xbt_log_priority_t XBT_ATTRIB_UNUSED priority) { return 0; }