Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use C++ style includes when available.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 10 Oct 2017 09:34:46 +0000 (11:34 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 10 Oct 2017 11:29:22 +0000 (13:29 +0200)
src/bindings/java/jxbt_utilities.hpp
src/include/surf/maxmin.hpp
src/mc/mc_unw.hpp
src/simix/smx_private.hpp
src/smpi/colls/colls_private.hpp

index 537167d..09988eb 100644 (file)
@@ -9,7 +9,7 @@
 #define JXBT_UTILITIES_HPP
 
 #include <jni.h>
 #define JXBT_UTILITIES_HPP
 
 #include <jni.h>
-#include <stdint.h>
+#include <cstdint>
 #include <string>
 
 extern "C" {
 #include <string>
 
 extern "C" {
index 55b4f60..95b0ebc 100644 (file)
@@ -10,7 +10,7 @@
 #include "xbt/misc.h"
 #include "xbt/asserts.h"
 #include "surf/datatypes.h"
 #include "xbt/misc.h"
 #include "xbt/asserts.h"
 #include "surf/datatypes.h"
-#include <math.h>
+#include <cmath>
 
 namespace simgrid {
 namespace surf {
 
 namespace simgrid {
 namespace surf {
index f8ae14e..3a62c53 100644 (file)
@@ -29,7 +29,7 @@
 #include "xbt/base.h"
 
 #include <libunwind.h>
 #include "xbt/base.h"
 
 #include <libunwind.h>
-#include <stdio.h>
+#include <cstdio>
 #include <sys/types.h>
 
 namespace simgrid {
 #include <sys/types.h>
 
 namespace simgrid {
index 8fd641f..49aa5ee 100644 (file)
@@ -8,7 +8,7 @@
 
 #include "simgrid/s4u/Actor.hpp"
 #include "src/kernel/context/Context.hpp"
 
 #include "simgrid/s4u/Actor.hpp"
 #include "src/kernel/context/Context.hpp"
-#include <signal.h>
+#include <csignal>
 
 #include <map>
 #include <vector>
 
 #include <map>
 #include <vector>
index dc897fe..78669b3 100644 (file)
@@ -6,7 +6,7 @@
 #ifndef SMPI_COLLS_PRIVATE_HPP
 #define SMPI_COLLS_PRIVATE_HPP
 
 #ifndef SMPI_COLLS_PRIVATE_HPP
 #define SMPI_COLLS_PRIVATE_HPP
 
-#include <math.h>
+#include <cmath>
 #include "smpi/mpi.h"
 #include "private.hpp"
 #include "smpi_coll.hpp"
 #include "smpi/mpi.h"
 #include "private.hpp"
 #include "smpi_coll.hpp"