]> AND Public Git Repository - simgrid.git/blobdiff - teshsuite/xbt/log_usage/log_usage.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move PoC blocking_simcall.hpp from public include/ to teshsuite/.
[simgrid.git] / teshsuite / xbt / log_usage / log_usage.c
index b4510c8db067bf811a114e0ff3c5a357e8d327bf..12e1090c9168adc1260bda20b017cda53e6bf684 100644 (file)
@@ -1,12 +1,12 @@
 /* log_usage - A test of normal usage of the log facilities                 */
 
-/* Copyright (c) 2004-2018. The SimGrid Team.
+/* Copyright (c) 2004-2021. 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(" ");