From 0112937cb81b40800accb377c1a7cd20aa451115 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Mon, 29 May 2017 10:47:41 +0200 Subject: [PATCH] chop includes --- include/simgrid/modelchecker.h | 1 - include/simgrid/msg.h | 1 - include/simgrid/s4u/Activity.hpp | 8 +------- include/simgrid/s4u/Actor.hpp | 4 ---- include/simgrid/simix.hpp | 9 +-------- include/xbt/functional.hpp | 6 ++---- src/simix/ActorImpl.hpp | 2 +- 7 files changed, 5 insertions(+), 26 deletions(-) diff --git a/include/simgrid/modelchecker.h b/include/simgrid/modelchecker.h index 11bd0b179c..c362f999ef 100644 --- a/include/simgrid/modelchecker.h +++ b/include/simgrid/modelchecker.h @@ -14,7 +14,6 @@ #ifndef SIMGRID_MODELCHECKER_H #define SIMGRID_MODELCHECKER_H -#include #include /* size_t */ #include /* SIMGRID_HAVE_MC ? */ diff --git a/include/simgrid/msg.h b/include/simgrid/msg.h index 2d3cdb3b13..9a6efb706f 100644 --- a/include/simgrid/msg.h +++ b/include/simgrid/msg.h @@ -7,7 +7,6 @@ #ifndef MSG_H #define MSG_H -#include "xbt.h" #include "xbt/lib.h" #include "simgrid/forward.h" #include "simgrid/simix.h" diff --git a/include/simgrid/s4u/Activity.hpp b/include/simgrid/s4u/Activity.hpp index e4ace917c0..b85daaaf4f 100644 --- a/include/simgrid/s4u/Activity.hpp +++ b/include/simgrid/s4u/Activity.hpp @@ -1,5 +1,4 @@ -/* Copyright (c) 2006-2015. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2006-2017. 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. */ @@ -7,11 +6,6 @@ #ifndef SIMGRID_S4U_ACTIVITY_HPP #define SIMGRID_S4U_ACTIVITY_HPP -#include - -#include -#include - #include #include diff --git a/include/simgrid/s4u/Actor.hpp b/include/simgrid/s4u/Actor.hpp index 4914e5eb29..5517dc62bd 100644 --- a/include/simgrid/s4u/Actor.hpp +++ b/include/simgrid/s4u/Actor.hpp @@ -16,15 +16,11 @@ #include #include -#include - #include -#include #include #include #include -#include #include namespace simgrid { diff --git a/include/simgrid/simix.hpp b/include/simgrid/simix.hpp index a09f323c23..7e0e9e3cd5 100644 --- a/include/simgrid/simix.hpp +++ b/include/simgrid/simix.hpp @@ -7,14 +7,7 @@ #ifndef SIMGRID_SIMIX_HPP #define SIMGRID_SIMIX_HPP -#include - -#include -#include -#include -#include - -#include +//#include #include #include #include diff --git a/include/xbt/functional.hpp b/include/xbt/functional.hpp index b93f958fd2..d6c6b2b1de 100644 --- a/include/xbt/functional.hpp +++ b/include/xbt/functional.hpp @@ -15,14 +15,12 @@ #include #include #include -#include -#include #include #include #include -#include -#include +#include "xbt/sysdep.h" +#include "xbt/utility.hpp" namespace simgrid { namespace xbt { diff --git a/src/simix/ActorImpl.hpp b/src/simix/ActorImpl.hpp index 9b7e47bad6..4a53a46f6b 100644 --- a/src/simix/ActorImpl.hpp +++ b/src/simix/ActorImpl.hpp @@ -9,7 +9,7 @@ #include "simgrid/s4u/Actor.hpp" #include "src/simix/popping_private.h" #include "xbt/swag.h" -#include +#include typedef struct s_smx_process_exit_fun { int_f_pvoid_pvoid_t fun; -- 2.20.1