X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cbc139a1f575f951f48b0e120bc79cbfd3cae613..62dceedf62ca9df19fd3afee1458e21d9f211c5a:/examples/smpi/replay_multiple/replay_multiple.c diff --git a/examples/smpi/replay_multiple/replay_multiple.c b/examples/smpi/replay_multiple/replay_multiple.c index 6bf7d76f3a..7ad646ea34 100644 --- a/examples/smpi/replay_multiple/replay_multiple.c +++ b/examples/smpi/replay_multiple/replay_multiple.c @@ -13,7 +13,8 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test, "Messages specific for this msg example"); -static int smpi_replay(int argc, char *argv[]) { +static void smpi_replay(int argc, char* argv[]) +{ const char* instance_id = argv[1]; int rank = xbt_str_parse_int(argv[2], "Cannot parse rank '%s'"); const char* trace_filename = argv[3]; @@ -24,7 +25,6 @@ static int smpi_replay(int argc, char *argv[]) { } smpi_replay_run(instance_id, rank, start_delay_flops, trace_filename); - return 0; } int main(int argc, char *argv[]){