X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a3848e5ea6b2305d6059c89705edaccbec356455..c85e43e7cc3034aefc758257a387d32026c05ef4:/examples/msg/masterslave/masterslave_platfgen.c?ds=sidebyside diff --git a/examples/msg/masterslave/masterslave_platfgen.c b/examples/msg/masterslave/masterslave_platfgen.c index 9d8f3cd425..ef94493611 100644 --- a/examples/msg/masterslave/masterslave_platfgen.c +++ b/examples/msg/masterslave/masterslave_platfgen.c @@ -1,7 +1,12 @@ +/* Copyright (c) 2012-2014. 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. */ #include "simgrid/platf_generator.h" #include "xbt.h" -#include "msg/msg.h" +#include "simgrid/msg.h" #include "xbt/log.h" XBT_LOG_NEW_DEFAULT_CATEGORY(test_generation, @@ -74,7 +79,7 @@ int master(int argc, char *argv[]) slaves = xbt_new0(msg_host_t, slaves_count); for (i = 0; i < argc; i++) { - slaves[i] = MSG_get_host_by_name(argv[i]); + slaves[i] = MSG_host_by_name(argv[i]); if (slaves[i] == NULL) { XBT_INFO("Unknown host %s. Stopping Now! ", argv[i]); abort();