Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
lgtm: Add some missing header guards
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Sun, 24 May 2020 22:08:32 +0000 (00:08 +0200)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Mon, 25 May 2020 11:22:40 +0000 (13:22 +0200)
include/xbt/log.hpp
src/kernel/EngineImpl.hpp
src/surf/cpu_cas01.hpp
src/surf/network_smpi.hpp

index c28f642..4553724 100644 (file)
@@ -3,6 +3,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. */
 
+#ifndef SIMGRID_XBT_LOG_HPP
+#define SIMGRID_XBT_LOG_HPP
+
 #include <simgrid/Exception.hpp>
 #include <xbt/log.h>
 
@@ -22,3 +25,5 @@ XBT_PUBLIC void install_exception_handler();
 
 } // namespace xbt
 } // namespace simgrid
+
+#endif
\ No newline at end of file
index f619bf6..d730ede 100644 (file)
@@ -3,10 +3,14 @@
 /* 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 <map>
+#ifndef SIMGRID_KERNEL_ENGINEIMPL_HPP
+#define SIMGRID_KERNEL_ENGINEIMPL_HPP
+
 #include <simgrid/s4u/Engine.hpp>
 #include <simgrid/s4u/NetZone.hpp>
 #include <simgrid/simix.hpp>
+
+#include <map>
 #include <string>
 #include <unordered_map>
 
@@ -48,3 +52,5 @@ public:
 
 } // namespace kernel
 } // namespace simgrid
+
+#endif
\ No newline at end of file
index f01f62b..2950172 100644 (file)
@@ -3,6 +3,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. */
 
+#ifndef SIMGRID_SURF_CPUCAS01_HPP
+#define SIMGRID_SURF_CPUCAS01_HPP
+
 #include "cpu_interface.hpp"
 #include "xbt/base.h"
 
@@ -75,3 +78,5 @@ private:
 } // namespace resource
 } // namespace kernel
 } // namespace simgrid
+
+#endif
\ No newline at end of file
index 3915097..56d4d60 100644 (file)
@@ -4,6 +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. */
 
+#ifndef SIMGRID_SURF_NETWORK_SMPI_HPP
+#define SIMGRID_SURF_NETWORK_SMPI_HPP
+
 #include <xbt/base.h>
 
 #include "network_cm02.hpp"
@@ -24,3 +27,5 @@ public:
 } // namespace resource
 } // namespace kernel
 }
+
+#endif