From d5c7479480cbe31b662c1130a0497df4d87963cf Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Mon, 27 Nov 2017 09:57:26 +0100 Subject: [PATCH] Rename file .h -> .hpp. --- src/include/surf/{datatypes.h => datatypes.hpp} | 4 ++-- src/include/surf/surf.hpp | 2 +- tools/cmake/DefinePackages.cmake | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename src/include/surf/{datatypes.h => datatypes.hpp} (89%) diff --git a/src/include/surf/datatypes.h b/src/include/surf/datatypes.hpp similarity index 89% rename from src/include/surf/datatypes.h rename to src/include/surf/datatypes.hpp index 445ddc1c60..30a80d6c12 100644 --- a/src/include/surf/datatypes.h +++ b/src/include/surf/datatypes.hpp @@ -3,8 +3,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. */ -#ifndef MAXMIN_DATATYPES_H -#define MAXMIN_DATATYPES_H +#ifndef MAXMIN_DATATYPES_HPP +#define MAXMIN_DATATYPES_HPP typedef struct s_lmm_element_t* lmm_element_t; typedef struct s_lmm_variable_t* lmm_variable_t; diff --git a/src/include/surf/surf.hpp b/src/include/surf/surf.hpp index 3214e60756..a6654ac9cc 100644 --- a/src/include/surf/surf.hpp +++ b/src/include/surf/surf.hpp @@ -9,7 +9,7 @@ #include "simgrid/datatypes.h" #include "simgrid/forward.h" #include "src/internal_config.h" -#include "surf/datatypes.h" +#include "surf/datatypes.hpp" #include "xbt/config.h" #include "xbt/dict.h" #include "xbt/dynar.h" diff --git a/tools/cmake/DefinePackages.cmake b/tools/cmake/DefinePackages.cmake index 9f54c77d04..21327c91b6 100644 --- a/tools/cmake/DefinePackages.cmake +++ b/tools/cmake/DefinePackages.cmake @@ -6,7 +6,7 @@ set(EXTRA_DIST src/include/mc/datatypes.h src/include/mc/mc.h src/include/simgrid/sg_config.h - src/include/surf/datatypes.h + src/include/surf/datatypes.hpp src/include/surf/maxmin.hpp src/include/surf/surf.hpp src/include/xbt/parmap.hpp -- 2.20.1