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
move a public header in the simgrid/ directory to fight the namespace polution
[simgrid.git]
/
examples
/
msg
/
mc
/
bugged1.c
diff --git
a/examples/msg/mc/bugged1.c
b/examples/msg/mc/bugged1.c
index
10ef4ce
..
80fbae2
100644
(file)
--- a/
examples/msg/mc/bugged1.c
+++ b/
examples/msg/mc/bugged1.c
@@
-4,7
+4,7
@@
/******************************************************************************/
#include <msg/msg.h>
/******************************************************************************/
#include <msg/msg.h>
-#include <
mc
/modelchecker.h>
+#include <
simgrid
/modelchecker.h>
#define N 3
XBT_LOG_NEW_DEFAULT_CATEGORY(example, "this example");
#define N 3
XBT_LOG_NEW_DEFAULT_CATEGORY(example, "this example");
@@
-26,7
+26,7
@@
int server(int argc, char *argv[])
}
MC_assert(atoi(MSG_task_get_name(task)) == 3);
}
MC_assert(atoi(MSG_task_get_name(task)) == 3);
-
INFO0
("OK");
+
XBT_INFO
("OK");
return 0;
}
return 0;
}
@@
-39,7
+39,7
@@
int client(int argc, char *argv[])
MSG_task_send(task, "mymailbox");
MSG_task_send(task, "mymailbox");
-
INFO0
("Sent!");
+
XBT_INFO
("Sent!");
return 0;
}
return 0;
}
@@
-58,8
+58,6
@@
int main(int argc, char *argv[])
MSG_main();
MSG_main();
- INFO0("MSG_main finished");
-
MSG_clean();
return 0;
MSG_clean();
return 0;