A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of https://framagit.org/simgrid/simgrid into no_simix_global
[simgrid.git]
/
include
/
xbt
/
log.h
diff --git
a/include/xbt/log.h
b/include/xbt/log.h
index
32215d2
..
188944a
100644
(file)
--- a/
include/xbt/log.h
+++ b/
include/xbt/log.h
@@
-15,7
+15,7
@@
#include <stdarg.h>
#include <stddef.h> /* NULL */
#include <stdio.h> /* FILE */
#include <stdarg.h>
#include <stddef.h> /* NULL */
#include <stdio.h> /* FILE */
-#include <xbt/
misc
.h>
+#include <xbt/
base
.h>
SG_BEGIN_DECL
/**@brief Log priorities
* @ingroup XBT_log
SG_BEGIN_DECL
/**@brief Log priorities
* @ingroup XBT_log
@@
-91,9
+91,7
@@
typedef enum {
void _XBT_LOGV_CTOR(catName)(void) \
{ \
XBT_LOG_EXTERNAL_CATEGORY(catName); \
void _XBT_LOGV_CTOR(catName)(void) \
{ \
XBT_LOG_EXTERNAL_CATEGORY(catName); \
- if (!_XBT_LOGV(catName).initialized) { \
- _xbt_log_cat_init(&_XBT_LOGV(catName), xbt_log_priority_uninitialized); \
- } \
+ (void)_xbt_log_cat_init(&_XBT_LOGV(catName), xbt_log_priority_uninitialized); \
} \
XBT_EXPORT_NO_IMPORT s_xbt_log_category_t _XBT_LOGV(catName) = { \
&_XBT_LOGV(parent), \
} \
XBT_EXPORT_NO_IMPORT s_xbt_log_category_t _XBT_LOGV(catName) = { \
&_XBT_LOGV(parent), \