X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3fedd58ec87f4192243b4205167726db2f19bd3c..00e10260c18a854d25ebf608ab62f3b59e262a61:/src/xbt/module.c diff --git a/src/xbt/module.c b/src/xbt/module.c index 6a8c20113e..32dc9ad3f0 100644 --- a/src/xbt/module.c +++ b/src/xbt/module.c @@ -9,7 +9,6 @@ #include "xbt/sysdep.h" #include "xbt/log.h" -#include "xbt/error.h" #include "xbt/dynar.h" #include "xbt/config.h" @@ -30,20 +29,14 @@ struct xbt_module_ { /** @brief Initialize the xbt mechanisms. */ void xbt_init(int *argc, char **argv) { - xbt_init_defaultlog(argc, argv, NULL); -} - -/** @brief Initialize the xbt mechanisms. */ -void -xbt_init_defaultlog(int *argc,char **argv, const char *defaultlog) { static short int first_run = 1; if (!first_run) return; first_run = 0; - INFO0("Initialize XBT"); + VERB0("Initialize XBT"); - xbt_log_init(argc,argv,defaultlog); + xbt_log_init(argc,argv); } /** @brief Finalize the xbt mechanisms. */