Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Cosmetics: use XBT_LOG_EXTERNAL_DEFAULT_CATEGORY where possible.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Wed, 28 Mar 2012 09:33:37 +0000 (11:33 +0200)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Wed, 28 Mar 2012 13:24:33 +0000 (15:24 +0200)
src/gras/Msg/rl_msg.c
src/xbt/config.c
src/xbt/dict.c
src/xbt/dynar.c
src/xbt/xbt_synchro.c

index 738b911..d19d7bb 100644 (file)
@@ -13,8 +13,7 @@
 #include "gras/Msg/msg_private.h"
 #include "gras/Transport/transport_interface.h"
 
 #include "gras/Msg/msg_private.h"
 #include "gras/Transport/transport_interface.h"
 
-XBT_LOG_EXTERNAL_CATEGORY(gras_msg);
-XBT_LOG_DEFAULT_CATEGORY(gras_msg);
+XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(gras_msg);
 
 void gras_msg_recv(xbt_socket_t sock, gras_msg_t msg);
 
 
 void gras_msg_recv(xbt_socket_t sock, gras_msg_t msg);
 
index 2b65a73..049aa7f 100644 (file)
@@ -1359,8 +1359,7 @@ xbt_cfg_get_peer_at(xbt_cfg_t cfg, const char *name, int pos,
 #include "xbt.h"
 #include "xbt/ex.h"
 
 #include "xbt.h"
 #include "xbt/ex.h"
 
-XBT_LOG_EXTERNAL_CATEGORY(xbt_cfg);
-XBT_LOG_DEFAULT_CATEGORY(xbt_cfg);
+XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(xbt_cfg);
 
 XBT_TEST_SUITE("config", "Configuration support");
 
 
 XBT_TEST_SUITE("config", "Configuration support");
 
index 13b84d0..d39a728 100644 (file)
@@ -741,8 +741,7 @@ void xbt_dict_postexit(void)
 #include "xbt/ex.h"
 #include "portable.h"
 
 #include "xbt/ex.h"
 #include "portable.h"
 
-XBT_LOG_EXTERNAL_CATEGORY(xbt_dict);
-XBT_LOG_DEFAULT_CATEGORY(xbt_dict);
+XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(xbt_dict);
 
 XBT_TEST_SUITE("dict", "Dict data container");
 
 
 XBT_TEST_SUITE("dict", "Dict data container");
 
index 0574b41..7e6f015 100644 (file)
@@ -784,8 +784,7 @@ XBT_INLINE int xbt_dynar_compare(xbt_dynar_t d1, xbt_dynar_t d2,
 #define NB_ELEM 5000
 
 XBT_TEST_SUITE("dynar", "Dynar data container");
 #define NB_ELEM 5000
 
 XBT_TEST_SUITE("dynar", "Dynar data container");
-XBT_LOG_EXTERNAL_CATEGORY(xbt_dyn);
-XBT_LOG_DEFAULT_CATEGORY(xbt_dyn);
+XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(xbt_dyn);
 
 XBT_TEST_UNIT("int", test_dynar_int, "Dynars of integers")
 {
 
 XBT_TEST_UNIT("int", test_dynar_int, "Dynars of integers")
 {
index d72f8a6..7b2993d 100644 (file)
@@ -66,8 +66,7 @@ void xbt_dynar_dopar(xbt_dynar_t datas, void_f_int_pvoid_t function)
 #include "xbt/synchro.h"
 
 XBT_TEST_SUITE("synchro", "Advanced synchronization mecanisms");
 #include "xbt/synchro.h"
 
 XBT_TEST_SUITE("synchro", "Advanced synchronization mecanisms");
-XBT_LOG_EXTERNAL_CATEGORY(xbt_dyn);
-XBT_LOG_DEFAULT_CATEGORY(xbt_dyn);
+XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(xbt_dyn);
 
 static void add100(int rank, void *data)
 {
 
 static void add100(int rank, void *data)
 {