X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fe304706848f0a64477d4687b3ea97d5b9a0c35c..4c13ae49e3c558dd6c83e0e1a479c189f57aec45:/teshsuite/msg/get_sender/get_sender.c?ds=sidebyside diff --git a/teshsuite/msg/get_sender/get_sender.c b/teshsuite/msg/get_sender/get_sender.c index 821d5d8504..eb97efdca2 100644 --- a/teshsuite/msg/get_sender/get_sender.c +++ b/teshsuite/msg/get_sender/get_sender.c @@ -8,7 +8,7 @@ #include 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;