]> AND Public Git Repository - simgrid.git/blobdiff - examples/msg/mc/random_test.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Protect --log=root.fmt flag with double quotes in tesh files
[simgrid.git] / examples / msg / mc / random_test.c
index 3dee89cc74390d43ec5ecd3429ed7b58910e2fbf..b5039c75f84b5935ce0a40c2c276b2221408015d 100644 (file)
@@ -1,22 +1,22 @@
 #include <msg/msg.h>
 #include <mc/modelchecker.h>
 
-XBT_LOG_NEW_DEFAULT_CATEGORY(random_test,"Random Test");
+XBT_LOG_NEW_DEFAULT_CATEGORY(random_test, "Random Test");
 
-int server(int argc,char *argv[]);
+int server(int argc, char *argv[]);
 
-int server(int argc,char *argv[])
+int server(int argc, char *argv[])
 {
   int val;
-  val = MC_random(3,6);
+  val = MC_random(3, 6);
   INFO1("val=%d", val);
   INFO0("OK");
   return 0;
 }
 
-int main(int argc,char*argv[]) 
+int main(int argc, char *argv[])
 {
-  MSG_global_init(&argc,argv);
+  MSG_global_init(&argc, argv);
 
   MSG_create_environment("platform.xml");