Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Unused parameters argc/argv.
[simgrid.git] / teshsuite / msg / get_sender / get_sender.c
index 821d5d8..eb97efd 100644 (file)
@@ -8,7 +8,7 @@
 #include <float.h>
 XBT_LOG_NEW_DEFAULT_CATEGORY(test, "Messages specific to this example");
 
-static int sender_fun(int argc, char *argv[])
+static int sender_fun(XBT_ATTRIB_UNUSED int argc, XBT_ATTRIB_UNUSED char* argv[])
 {
   XBT_INFO("Sending");
   MSG_task_send(MSG_task_create("Blah", 0.0, 0.0, NULL), MSG_host_get_name(MSG_host_self()));
@@ -17,7 +17,7 @@ static int sender_fun(int argc, char *argv[])
   return 0;
 }
 
-static int receiver_fun(int argc, char *argv[])
+static int receiver_fun(XBT_ATTRIB_UNUSED int argc, XBT_ATTRIB_UNUSED char* argv[])
 {
   XBT_INFO("Receiving");
   msg_task_t task = NULL;