From: Frederic Suter Date: Mon, 29 Feb 2016 10:54:06 +0000 (+0100) Subject: tiny fixes X-Git-Tag: v3_13~627 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/30a8fb6dc8baf6ace186ac37c73f6b8b7531cfe3?ds=inline tiny fixes --- diff --git a/examples/msg/io/remote.c b/examples/msg/io/remote.c index 0d90d37c09..bbb3ca0475 100644 --- a/examples/msg/io/remote.c +++ b/examples/msg/io/remote.c @@ -17,7 +17,7 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(remote_io, "Messages specific for this io example") static int host(int argc, char *argv[]){ msg_file_t file = MSG_file_open(argv[1], NULL); - char *filename = MSG_file_get_name(file); + const char *filename = MSG_file_get_name(file); XBT_INFO("Opened file '%s'",filename); MSG_file_dump(file); diff --git a/examples/msg/migration/migration.c b/examples/msg/migration/migration.c index 9fdc4a8642..804affbf91 100644 --- a/examples/msg/migration/migration.c +++ b/examples/msg/migration/migration.c @@ -5,6 +5,7 @@ * under the terms of the license (GNU LGPL) which comes with this package. */ #include "simgrid/msg.h" +#include "xbt/synchro_core.h" XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test, "Messages specific for this msg example");