Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Define method test() in Activity (common to Exec and Io).
[simgrid.git] / teshsuite / msg / process-join / process-join.c
index 771bb6e7880f0bbe6828d58d117ab480bb7871b4..0b355e0d98b74ce9407c4c43a204c156f6f71044 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010-2019. The SimGrid Team.
+/* Copyright (c) 2010-2020. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -8,7 +8,7 @@
 
 XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test, "Messages specific for this msg example");
 
-static int slave(int argc, char* argv[])
+static int slave(XBT_ATTRIB_UNUSED int argc, XBT_ATTRIB_UNUSED char* argv[])
 {
   XBT_INFO("Slave started");
   MSG_process_sleep(3);
@@ -16,7 +16,7 @@ static int slave(int argc, char* argv[])
   return 0;
 }
 
-static int master(int argc, char* argv[])
+static int master(XBT_ATTRIB_UNUSED int argc, XBT_ATTRIB_UNUSED char* argv[])
 {
   msg_process_t process;