Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
these are not c++ tests
[simgrid.git] / teshsuite / msg / task_listen_from / task_listen_from.c
@@ -9,9 +9,9 @@
 
 XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test, "Messages specific for this msg example");
 
-static int tester(int, char**)
+static int tester(XBT_ATTRIB_UNUSED int argc, XBT_ATTRIB_UNUSED char* argv[])
 {
-  msg_task_t task = MSG_task_create("name", 0, 10, NULL);
+  msg_task_t task       = MSG_task_create("name", 0, 10, NULL);
   const_msg_comm_t comm = MSG_task_isend(task, "mailbox");
 
   XBT_INFO("MSG_task_listen_from returns() %d (should return my pid, which is %d)", MSG_task_listen_from("mailbox"),