Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
try to fix the windows build (+clang-format)
authorMartin Quinson <martin.quinson@loria.fr>
Mon, 31 Oct 2016 23:30:25 +0000 (00:30 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Mon, 31 Oct 2016 23:30:25 +0000 (00:30 +0100)
include/xbt/asserts.h
src/xbt/log.c

index e268b0d..30d9a34 100644 (file)
@@ -14,7 +14,7 @@
 #include "xbt/ex.h"
 
 SG_BEGIN_DECL()
-extern int xbt_log_no_loc; /* Do not show the backtrace on failed backtrace when doing our tests */
+XBT_PUBLIC_DATA(int) xbt_log_no_loc; /* Do not show the backtrace on failed backtrace when doing our tests */
 
 /**
  * @addtogroup XBT_error
index 571337d..6362a34 100644 (file)
 
 #include "src/xbt_modinter.h"
 
-#include "xbt/misc.h"
+#include "src/xbt/log_private.h"
+#include "xbt/asserts.h"
+#include "xbt/dynar.h"
 #include "xbt/ex.h"
+#include "xbt/misc.h"
 #include "xbt/str.h"
 #include "xbt/sysdep.h"
-#include "src/xbt/log_private.h"
-#include "xbt/dynar.h"
 #include "xbt/xbt_os_thread.h"
 
-int xbt_log_no_loc = 0;         /* if set to true (with --log=no_loc), file localization will be omitted (for tesh tests) */
+int xbt_log_no_loc = 0; /* if set to true (with --log=no_loc), file localization will be omitted (for tesh tests) */
 static xbt_os_mutex_t log_cat_init_mutex = NULL;
 
 /** \addtogroup XBT_log