From 08cb8580c73f641a3eda1c94589770955b13dd48 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Fri, 12 May 2017 22:48:44 +0200 Subject: [PATCH] Allow the unit tests to setup the logs --- include/xbt/log.h | 1 + src/xbt_modinter.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/include/xbt/log.h b/include/xbt/log.h index 3ec9eb4569..a6be428cf5 100644 --- a/include/xbt/log.h +++ b/include/xbt/log.h @@ -321,6 +321,7 @@ XBT_PUBLIC(xbt_log_appender_t) xbt_log_appender2_file_new(char *arg,int roll); /* ********************************** */ /* Functions that you shouldn't call */ /* ********************************** */ +XBT_PUBLIC(void) xbt_log_init(int *argc, char **argv); XBT_PUBLIC(void) _xbt_log_event_log(xbt_log_event_t ev, const char *fmt, ...) XBT_ATTRIB_PRINTF(2, 3); XBT_PUBLIC(int) _xbt_log_cat_init(xbt_log_category_t category, e_xbt_log_priority_t priority); diff --git a/src/xbt_modinter.h b/src/xbt_modinter.h index e0240df869..f76b1a62f3 100644 --- a/src/xbt_modinter.h +++ b/src/xbt_modinter.h @@ -14,7 +14,6 @@ SG_BEGIN_DECL() /* Modules definitions */ void xbt_log_preinit(void); -void xbt_log_init(int *argc, char **argv); void xbt_log_postexit(void); void xbt_dict_preinit(void); -- 2.20.1