X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d5b29830df70e823202e384a7655e4371193ecd7..d33e7a563a884247bff85406dcc589a70a162e79:/teshsuite/surf/lmm_usage/lmm_usage.cpp diff --git a/teshsuite/surf/lmm_usage/lmm_usage.cpp b/teshsuite/surf/lmm_usage/lmm_usage.cpp index 01a2dfadb4..ce8eac5e71 100644 --- a/teshsuite/surf/lmm_usage/lmm_usage.cpp +++ b/teshsuite/surf/lmm_usage/lmm_usage.cpp @@ -6,12 +6,13 @@ /* 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 "xbt/sysdep.h" +#include "simgrid/msg.h" +#include "src/surf/surf_interface.hpp" #include "surf/maxmin.h" #include "xbt/log.h" #include "xbt/module.h" +#include "xbt/sysdep.h" #include -#include "src/surf/surf_interface.hpp" XBT_LOG_NEW_DEFAULT_CATEGORY(surf_test, "Messages specific for surf example"); @@ -298,8 +299,9 @@ static void test3(method_t method) xbt_free(A); } -int main() +int main(int argc, char** argv) { + MSG_init(&argc, argv); XBT_INFO("***** Test 1 (Max-Min)"); test1(MAXMIN); XBT_INFO("***** Test 1 (Lagrange - Vegas)");