Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Added files to the MASTER/SLAVE parser bypassing example. It is not
[simgrid.git] / examples / msg / msg_test.c
index 988f18e..d5a4fd5 100644 (file)
@@ -5,6 +5,7 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
+#include <stdio.h>
 #include "msg/msg.h" /* Yeah! If you want to use msg, you need to include msg/msg.h */
 #include "xbt/sysdep.h" /* calloc, printf */
 
@@ -218,6 +219,8 @@ int main(int argc, char *argv[])
   res = test_all(argv[1],argv[2]);
   MSG_clean();
 
-  if(res==MSG_OK) return 0; 
-  else return 1;
+  if(res==MSG_OK)
+    return 0;
+  else
+    return 1;
 } /* end_of_main */