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
Do compile correctly under windows
[simgrid.git]
/
src
/
xbt
/
module.c
diff --git
a/src/xbt/module.c
b/src/xbt/module.c
index
aa5a0bb
..
a79815f
100644
(file)
--- a/
src/xbt/module.c
+++ b/
src/xbt/module.c
@@
-27,26
+27,20
@@
struct xbt_module_ {
xbt_module_finalize_fct_t finalize;
};
xbt_module_finalize_fct_t finalize;
};
-/** @brief Initialize the xbt mecanisms. */
+/** @brief Initialize the xbt mec
h
anisms. */
void
xbt_init(int *argc, char **argv) {
void
xbt_init(int *argc, char **argv) {
- xbt_init_defaultlog(argc, argv, NULL);
-}
-
-/** @brief Initialize the xbt mecanisms. */
-void
-xbt_init_defaultlog(int *argc,char **argv, const char *defaultlog) {
static short int first_run = 1;
if (!first_run)
return;
first_run = 0;
static short int first_run = 1;
if (!first_run)
return;
first_run = 0;
-
INFO
0("Initialize XBT");
+
VERB
0("Initialize XBT");
- xbt_log_init(argc,argv
,defaultlog
);
+ xbt_log_init(argc,argv);
}
}
-/** @brief Finalize the xbt mecanisms. */
+/** @brief Finalize the xbt mec
h
anisms. */
void
xbt_exit(){
xbt_log_exit();
void
xbt_exit(){
xbt_log_exit();