Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Revert "msg_private.h is a C++ header so add pp"
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Fri, 2 Sep 2016 16:05:50 +0000 (18:05 +0200)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Fri, 2 Sep 2016 16:05:50 +0000 (18:05 +0200)
This reverts commit fbf96d959e4912fe445823b75cf102a0e89131e2.

26 files changed:
src/msg/instr_msg_process.cpp
src/msg/instr_msg_task.cpp
src/msg/instr_msg_vm.cpp
src/msg/msg_actions.cpp
src/msg/msg_deployment.cpp
src/msg/msg_environment.cpp
src/msg/msg_global.cpp
src/msg/msg_gos.cpp
src/msg/msg_host.cpp
src/msg/msg_io.cpp
src/msg/msg_mailbox.cpp
src/msg/msg_private.h [moved from src/msg/msg_private.hpp with 100% similarity]
src/msg/msg_process.cpp
src/msg/msg_synchro.cpp
src/msg/msg_task.cpp
src/msg/msg_vm.cpp
src/s4u/s4u_activity.cpp
src/s4u/s4u_actor.cpp
src/s4u/s4u_comm.cpp
src/s4u/s4u_file.cpp
src/s4u/s4u_host.cpp
src/s4u/s4u_mailbox.cpp
src/s4u/s4u_mutex.cpp
src/simix/ActorImpl.cpp
src/smpi/smpi_global.cpp
tools/cmake/DefinePackages.cmake

index d2d6be0..bcdb775 100644 (file)
@@ -4,8 +4,8 @@
 /* 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 "msg_private.hpp"
 #include "src/simix/ActorImpl.hpp"
+#include "msg_private.h"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY (instr_msg_process, instr, "MSG process");
 
index a6f655b..c450a22 100644 (file)
@@ -5,8 +5,8 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "src/instr/instr_private.h"
+#include "msg_private.h"
 #include "mc/mc.h"
-#include "msg_private.hpp"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY (instr_msg, instr, "MSG");
 
index 2c9478e..995a22d 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "msg_private.hpp"
+#include "msg_private.h"
 
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY (instr_msg_vm, instr, "MSG VM");
index 461b7cb..85f009f 100644 (file)
@@ -4,11 +4,11 @@
 /* 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 "msg_private.h"
 #include "xbt/dynar.h"
 #include "xbt/replay.h"
 
 #include <errno.h>
-#include "msg_private.hpp"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_action, msg, "MSG actions for trace driven simulation");
 
index 6f09557..015d748 100644 (file)
@@ -4,9 +4,9 @@
 /* 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 "msg_private.h"
 #include "xbt/sysdep.h"
 #include "xbt/log.h"
-#include "msg_private.hpp"
 
 /** \ingroup msg_simulation
  * \brief An application deployer.
index bd0ec18..5e29b97 100644 (file)
@@ -4,12 +4,12 @@
 /* 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 "msg_private.h"
 #include "xbt/sysdep.h"
 #include "xbt/log.h"
 
 #include "simgrid/s4u/As.hpp"
 #include "simgrid/s4u/engine.hpp"
-#include "msg_private.hpp"
 
 #if HAVE_LUA
 #include <lua.h>
index f787cc0..9a95300 100644 (file)
@@ -8,11 +8,10 @@
 
 #include "simgrid/msg.h"
 #include "instr/instr_interface.h"
+#include "msg_private.h"
 #include "mc/mc.h"
 #include "xbt/sysdep.h"
 #include "xbt/log.h"
-
-#include "msg_private.hpp"
 #include "simgrid/sg_config.h" /* Configuration mechanism of SimGrid */
 #include "src/surf/xml/platf_private.hpp" // FIXME: KILLME by removing MSG_post_create_environment()
 
index 865aa3e..295ba5f 100644 (file)
@@ -6,10 +6,10 @@
 #include <xbt/ex.hpp>
 
 #include "src/simix/smx_private.h" /* MSG_task_listen looks inside the rdv directly. Not clean. */
+#include "msg_private.h"
 #include "mc/mc.h"
 #include "xbt/log.h"
 #include "xbt/sysdep.h"
-#include "msg_private.hpp"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_gos, msg, "Logging specific to MSG (gos)");
 
index c1af957..6a56a66 100644 (file)
@@ -4,11 +4,11 @@
 /* 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 "src/msg/msg_private.h"
 #include "xbt/sysdep.h"
 #include "xbt/log.h"
 #include "simgrid/simix.h"
 #include <simgrid/s4u/host.hpp>
-#include "msg_private.hpp"
 
 XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(msg);
 
index 6e99bcf..510ac65 100644 (file)
@@ -6,8 +6,8 @@
 
 #include <simgrid/s4u/host.hpp>
 
+#include "msg_private.h"
 #include "xbt/log.h"
-#include "msg_private.hpp"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_io, msg, "Logging specific to MSG (io)");
 
index 8b09b2e..2186710 100644 (file)
@@ -9,9 +9,8 @@
 #include <xbt/ex.hpp>
 
 #include "simgrid/msg.h"
+#include "msg_private.h"
 #include "simgrid/s4u/Actor.hpp"
-
-#include "msg_private.hpp"
 #include "simgrid/s4u/Mailbox.hpp"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_mailbox, msg, "Logging specific to MSG (mailbox)");
index ada529c..17b02ef 100644 (file)
@@ -6,11 +6,10 @@
 
 #include <functional>
 
+#include "msg_private.h"
 #include "xbt/sysdep.h"
 #include "xbt/log.h"
 #include "xbt/functional.hpp"
-
-#include "msg_private.hpp"
 #include "src/simix/ActorImpl.hpp"
 #include "src/simix/smx_private.h"
 
index 4c00c9c..fa46da9 100644 (file)
@@ -6,10 +6,10 @@
 
 #include <xbt/ex.hpp>
 
+#include "msg_private.h"
 #include "xbt/sysdep.h"
 #include "xbt/synchro_core.h"
 #include "xbt/log.h"
-#include "msg_private.hpp"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_synchro, msg, "Logging specific to MSG (synchro)");
 
index 1e8986f..a8b0c6b 100644 (file)
@@ -3,10 +3,10 @@
 /* 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 "msg_private.h"
 #include "src/simix/smx_private.h"
 #include "xbt/sysdep.h"
 #include "xbt/log.h"
-#include "msg_private.hpp"
 
 /** @addtogroup m_task_management
  *
index 1879dd2..2198f6d 100644 (file)
 
 #include <simgrid/s4u/host.hpp>
 
+#include "msg_private.h"
 #include "xbt/sysdep.h"
 #include "xbt/log.h"
 #include "simgrid/host.h"
-#include "msg_private.hpp"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_vm, msg, "Cloud-oriented parts of the MSG API");
 
index 12343db..4568abb 100644 (file)
@@ -5,8 +5,9 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "xbt/log.h"
+#include "src/msg/msg_private.h"
+
 #include "simgrid/s4u/Activity.hpp"
-#include "../msg/msg_private.hpp"
 
 XBT_LOG_EXTERNAL_CATEGORY(s4u);
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(s4u_activity,s4u,"S4U activities");
index c239a29..1b46b96 100644 (file)
@@ -5,11 +5,11 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "xbt/log.h"
+#include "src/msg/msg_private.h"
+
 #include "simgrid/s4u/Actor.hpp"
 #include "simgrid/s4u/comm.hpp"
 #include "simgrid/s4u/host.hpp"
-
-#include "../msg/msg_private.hpp"
 #include "simgrid/s4u/Mailbox.hpp"
 
 #include "src/kernel/context/Context.hpp"
index 6d051ec..3d6be86 100644 (file)
@@ -5,9 +5,10 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "xbt/log.h"
+#include "src/msg/msg_private.h"
+
 #include "simgrid/s4u/comm.hpp"
 #include <simgrid/s4u/Mailbox.hpp>
-#include "../msg/msg_private.hpp"
 
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(s4u_comm,s4u_activity,"S4U asynchronous communications");
index 3256e27..7512efb 100644 (file)
@@ -4,11 +4,11 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "xbt/log.h"
+#include "src/msg/msg_private.h"
+
 #include "simgrid/s4u/Actor.hpp"
 #include "simgrid/s4u/comm.hpp"
 #include "simgrid/s4u/host.hpp"
-
-#include "../msg/msg_private.hpp"
 #include "simgrid/s4u/Mailbox.hpp"
 
 XBT_LOG_NEW_DEFAULT_CATEGORY(s4u_file,"S4U files");
index 9af3032..d38b8e0 100644 (file)
 #include "simgrid/simix.hpp"
 #include "src/surf/HostImpl.hpp"
 #include "xbt/log.h"
+#include "src/msg/msg_private.h"
 #include "src/simix/ActorImpl.hpp"
 #include "src/simix/smx_private.h"
 #include "src/surf/cpu_interface.hpp"
 #include "simgrid/s4u/host.hpp"
 #include "simgrid/s4u/storage.hpp"
-#include "../msg/msg_private.hpp"
 
 int MSG_HOST_LEVEL = -1;
 int USER_HOST_LEVEL = -1;
index 90233b5..c23d735 100644 (file)
@@ -5,8 +5,7 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "xbt/log.h"
-
-#include "../msg/msg_private.hpp"
+#include "src/msg/msg_private.h"
 #include "src/simix/ActorImpl.hpp"
 #include "src/simix/smx_network_private.h"
 #include "simgrid/s4u/Mailbox.hpp"
index 20d87d9..4f2cce6 100644 (file)
@@ -5,10 +5,10 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "xbt/log.h"
+#include "src/msg/msg_private.h"
 #include "src/simix/smx_synchro_private.h"
 
 #include "simgrid/s4u/Mutex.hpp"
-#include "../msg/msg_private.hpp"
 
 namespace simgrid {
 namespace s4u {
index 6aaab5e..d283b1e 100644 (file)
 #include <simgrid/s4u/host.hpp>
 
 #include <mc/mc.h>
-#include "../msg/msg_private.hpp"
 
 #include "src/surf/surf_interface.hpp"
 #include "smx_private.h"
 #include "src/mc/mc_replay.h"
 #include "src/mc/Client.hpp"
+#include "src/msg/msg_private.h"
 #include "src/kernel/activity/SynchroSleep.hpp"
 #include "src/kernel/activity/SynchroRaw.hpp"
 #include "src/kernel/activity/SynchroIo.hpp"
index 560bce2..5429977 100644 (file)
@@ -14,6 +14,7 @@
 #include "src/simix/smx_private.h"
 #include "simgrid/sg_config.h"
 #include "src/mc/mc_replay.h"
+#include "src/msg/msg_private.h"
 #include "src/kernel/activity/SynchroComm.hpp"
 
 #include <float.h> /* DBL_MAX */
@@ -24,7 +25,6 @@
 #include <stdlib.h>
 #include <string>
 #include <vector>
-#include "../msg/msg_private.hpp"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_kernel, smpi, "Logging specific to SMPI (kernel)");
 #include <boost/tokenizer.hpp>
index 11a7f08..ba6c3c0 100644 (file)
@@ -14,7 +14,7 @@ set(EXTRA_DIST
   src/include/surf/datatypes.h
   src/include/surf/maxmin.h
   src/include/surf/surf.h
-  src/msg/msg_private.hpp
+  src/msg/msg_private.h
   src/simdag/dax.dtd
   src/simdag/dax_dtd.c
   src/simdag/dax_dtd.h