Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
[simgrid.git] / examples / smpi / replay_multiple / replay_multiple.c
index dcc0ad4..bb06949 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2009-2014. The SimGrid Team.
+/* Copyright (c) 2009-2015. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
 XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test,
                "Messages specific for this msg example");
 
-int smpi_replay(int argc, char *argv[]);
-
-int smpi_replay(int argc, char *argv[])
-{
-       smpi_replay_init(&argc, &argv);
-       smpi_replay_finalize();
+static int smpi_replay(int argc, char *argv[]) {
+       smpi_replay_run(&argc, &argv);
        return 0;
 }