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
Sanitize the XBT log chans, too. Arnaud did so for MSG+SURF, I did so for AMOK+GRAS...
[simgrid.git]
/
src
/
xbt
/
dict.c
diff --git
a/src/xbt/dict.c
b/src/xbt/dict.c
index
b1bb6ea
..
8810081
100644
(file)
--- a/
src/xbt/dict.c
+++ b/
src/xbt/dict.c
@@
-10,7
+10,7
@@
#include "xbt/ex.h"
#include "dict_private.h"
#include "xbt/ex.h"
#include "dict_private.h"
-XBT_LOG_NEW_SUBCATEGORY(dict,xbt,
+XBT_LOG_NEW_SUBCATEGORY(
xbt_
dict,xbt,
"Dictionaries provide the same functionnalities than hash tables");
/*####[ Private prototypes ]#################################################*/
"Dictionaries provide the same functionnalities than hash tables");
/*####[ Private prototypes ]#################################################*/
@@
-213,8
+213,8
@@
xbt_dict_dump(xbt_dict_t dict,
#include "xbt/ex.h"
#include "portable.h"
#include "xbt/ex.h"
#include "portable.h"
-XBT_LOG_EXTERNAL_CATEGORY(dict);
-XBT_LOG_DEFAULT_CATEGORY(dict);
+XBT_LOG_EXTERNAL_CATEGORY(
xbt_
dict);
+XBT_LOG_DEFAULT_CATEGORY(
xbt_
dict);
XBT_TEST_SUITE("dict","Dict data container");
XBT_TEST_SUITE("dict","Dict data container");
@@
-229,7
+229,7
@@
static void debuged_add(xbt_dict_t head,const char*key)
xbt_test_log1("Add %s",PRINTF_STR(key));
xbt_dict_set(head,key,data,&free);
xbt_test_log1("Add %s",PRINTF_STR(key));
xbt_dict_set(head,key,data,&free);
- if (XBT_LOG_ISENABLED(dict,xbt_log_priority_debug)) {
+ if (XBT_LOG_ISENABLED(
xbt_
dict,xbt_log_priority_debug)) {
xbt_dict_dump(head,(void (*)(void*))&printf);
fflush(stdout);
}
xbt_dict_dump(head,(void (*)(void*))&printf);
fflush(stdout);
}