X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9932a0c0d2c44e34633c97a827b2b04d615cb4e9..e68d03f1f2c0206497381c7ef3b91bd5d46f1964:/examples/msg/properties/msg_prop.c diff --git a/examples/msg/properties/msg_prop.c b/examples/msg/properties/msg_prop.c index d46055026c..c77494e0aa 100644 --- a/examples/msg/properties/msg_prop.c +++ b/examples/msg/properties/msg_prop.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2014. The SimGrid Team. +/* Copyright (c) 2007-2015. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -37,7 +37,7 @@ msg_error_t test_all(const char *platform_file, static void test_host(const char*hostname) { - msg_host_t thehost = MSG_get_host_by_name(hostname); + msg_host_t thehost = MSG_host_by_name(hostname); xbt_dict_t props = MSG_host_get_properties(thehost); xbt_dict_cursor_t cursor = NULL; char *key, *data; @@ -99,7 +99,7 @@ int bob(int argc, char *argv[]) xbt_dict_cursor_t cursor = NULL; char *key, *data; const char *noexist = "UnknownProcessProp"; - _XBT_GNUC_UNUSED const char *value; + XBT_ATTRIB_UNUSED const char *value; XBT_INFO("== Print the properties of the process"); xbt_dict_foreach(props, cursor, key, data)