A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of https://framagit.org/simgrid/simgrid
[simgrid.git]
/
teshsuite
/
msg
/
platform-properties
/
platform-properties.c
diff --git
a/teshsuite/msg/platform-properties/platform-properties.c
b/teshsuite/msg/platform-properties/platform-properties.c
index
7a3dbeb
..
94375d6
100644
(file)
--- a/
teshsuite/msg/platform-properties/platform-properties.c
+++ b/
teshsuite/msg/platform-properties/platform-properties.c
@@
-1,4
+1,4
@@
-/* Copyright (c) 2007-201
6
. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2007-201
9
. 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. */
/* 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. */
@@
-47,27
+47,27
@@
static void test_host(const char* hostname)
xbt_dict_free(&props);
}
xbt_dict_free(&props);
}
-static int alice(
int argc,
char* argv[])
+static int alice(
XBT_ATTRIB_UNUSED int argc, XBT_ATTRIB_UNUSED
char* argv[])
{ /* Dump what we have on the current host */
test_host("host1");
return 0;
}
{ /* Dump what we have on the current host */
test_host("host1");
return 0;
}
-static int carole(
int argc,
char* argv[])
+static int carole(
XBT_ATTRIB_UNUSED int argc, XBT_ATTRIB_UNUSED
char* argv[])
{ /* Dump what we have on a remote host */
MSG_process_sleep(1); // Wait for alice to be done with its experiment
test_host("host1");
return 0;
}
{ /* Dump what we have on a remote host */
MSG_process_sleep(1); // Wait for alice to be done with its experiment
test_host("host1");
return 0;
}
-static int david(
int argc,
char* argv[])
+static int david(
XBT_ATTRIB_UNUSED int argc, XBT_ATTRIB_UNUSED
char* argv[])
{ /* Dump what we have on a remote host */
MSG_process_sleep(2); // Wait for alice and carole to be done with its experiment
{ /* Dump what we have on a remote host */
MSG_process_sleep(2); // Wait for alice and carole to be done with its experiment
- test_host("node-0.
acme
.org");
+ test_host("node-0.
simgrid
.org");
return 0;
}
return 0;
}
-static int bob(
int argc,
char* argv[])
+static int bob(
XBT_ATTRIB_UNUSED int argc, XBT_ATTRIB_UNUSED
char* argv[])
{
/* this host also tests the properties of the AS*/
msg_as_t root = MSG_zone_get_root();
{
/* this host also tests the properties of the AS*/
msg_as_t root = MSG_zone_get_root();
@@
-114,7
+114,7
@@
int main(int argc, char* argv[])
MSG_create_environment(argv[1]);
MSG_create_environment(argv[1]);
- XBT_INFO("There are %
d
hosts in the environment", MSG_get_host_number());
+ XBT_INFO("There are %
zu
hosts in the environment", MSG_get_host_number());
xbt_dynar_t hosts = MSG_hosts_as_dynar();
xbt_dynar_foreach (hosts, i, host) {
xbt_dynar_t hosts = MSG_hosts_as_dynar();
xbt_dynar_foreach (hosts, i, host) {