Logo AND Algorithmique Numérique Distribuée

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