From 051787b9c8dab8bae69449850c341a6ac521cbdd Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Wed, 18 Jul 2018 22:40:44 +0200 Subject: [PATCH] cut some useless includes --- src/simix/smx_context.cpp | 15 ++------------- src/simix/smx_deployment.cpp | 6 +++--- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/src/simix/smx_context.cpp b/src/simix/smx_context.cpp index 5dbbfb2900..d07d747b97 100644 --- a/src/simix/smx_context.cpp +++ b/src/simix/smx_context.cpp @@ -5,23 +5,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 -#include -#include -#include - #include "simgrid/modelchecker.h" -#include "simgrid/sg_config.hpp" -#include "smx_private.hpp" #include "src/internal_config.h" -#include "xbt/log.h" -#include "xbt/xbt_os_thread.h" +#include "src/simix/smx_private.hpp" +#include "xbt/config.hpp" -#include -#include -#include #include -#include #ifdef _WIN32 #include diff --git a/src/simix/smx_deployment.cpp b/src/simix/smx_deployment.cpp index aece2e987c..e947067742 100644 --- a/src/simix/smx_deployment.cpp +++ b/src/simix/smx_deployment.cpp @@ -3,15 +3,15 @@ /* 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 -#include - #include "simgrid/s4u/Host.hpp" #include "smx_private.hpp" #include "src/surf/xml/platf_private.hpp" // FIXME: KILLME. There must be a better way than mimicking XML here #include #include +#include +#include + XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_deployment, simix, "Logging specific to SIMIX (deployment)"); extern int surf_parse_lineno; -- 2.20.1