X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/611d822b02f836d7abe031cced6adc4281ef4356..84402e8e2ee2a2d0bef25fdceb0a263ed8b471f6:/teshsuite/msg/cloud-two-tasks/cloud-two-tasks.c diff --git a/teshsuite/msg/cloud-two-tasks/cloud-two-tasks.c b/teshsuite/msg/cloud-two-tasks/cloud-two-tasks.c index d7a2e35435..313c1dffac 100644 --- a/teshsuite/msg/cloud-two-tasks/cloud-two-tasks.c +++ b/teshsuite/msg/cloud-two-tasks/cloud-two-tasks.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2014-2018. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2014-2020. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -9,7 +9,7 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test, "Messages specific for this msg example") msg_task_t atask = NULL; -static int computation_fun(int argc, char* argv[]) +static int computation_fun(XBT_ATTRIB_UNUSED int argc, XBT_ATTRIB_UNUSED char* argv[]) { const char* pr_name = MSG_process_get_name(MSG_process_self()); const char* host_name = MSG_host_get_name(MSG_host_self()); @@ -41,7 +41,7 @@ static int computation_fun(int argc, char* argv[]) return 0; } -static int master_main(int argc, char* argv[]) +static int master_main(XBT_ATTRIB_UNUSED int argc, XBT_ATTRIB_UNUSED char* argv[]) { msg_host_t pm0 = MSG_host_by_name("Fafard"); msg_vm_t vm0 = MSG_vm_create_core(pm0, "VM0");