Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add a cmake flag to not compile MSG at all
[simgrid.git] / teshsuite / xbt / log_usage / log_usage.c
index e417d93c6df7c235c2f68faae012b3a0acd1d466..c4327d51abfc02e6ef234f766c7c133f15ed84f0 100644 (file)
@@ -1,12 +1,12 @@
 /* log_usage - A test of normal usage of the log facilities                 */
 
-/* Copyright (c) 2004-2007, 2009-2015. The SimGrid Team.
+/* Copyright (c) 2004-2020. 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/msg.h>
+#include <simgrid/engine.h>
 #include <xbt.h>
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(test, top, "Logging specific to this test");
@@ -24,7 +24,7 @@ static void dolog(const char *settings)
 
 int main(int argc, char **argv)
 {
-  MSG_init(&argc, argv);
+  simgrid_init(&argc, argv);
 
   dolog("");
   dolog(" ");