From 267c4af6fe5522d2d291f2c99e8225827268cdff Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Tue, 3 Oct 2017 21:43:05 +0200 Subject: [PATCH] Remove useless includes for xbt/str.h. --- examples/s4u/app-masterworker/s4u-app-masterworker.cpp | 1 - examples/s4u/app-token-ring/s4u-app-token-ring.cpp | 1 - examples/s4u/async-wait/s4u-async-wait.cpp | 1 - examples/s4u/async-waitall/s4u-async-waitall.cpp | 1 - examples/s4u/async-waitany/s4u-async-waitany.cpp | 1 - src/mc/mc_config.cpp | 3 +-- src/simdag/sd_daxloader.cpp | 1 - src/simgrid/sg_config.cpp | 1 - src/smpi/internals/smpi_utils.cpp | 1 - src/surf/trace_mgr.cpp | 1 - src/surf/xml/surfxml_parseplatf.cpp | 3 +-- src/xbt/backtrace_linux.cpp | 1 - src/xbt/ex.cpp | 1 - src/xbt/graph.c | 3 +-- 14 files changed, 3 insertions(+), 17 deletions(-) diff --git a/examples/s4u/app-masterworker/s4u-app-masterworker.cpp b/examples/s4u/app-masterworker/s4u-app-masterworker.cpp index d360480ac7..e21badf55c 100644 --- a/examples/s4u/app-masterworker/s4u-app-masterworker.cpp +++ b/examples/s4u/app-masterworker/s4u-app-masterworker.cpp @@ -3,7 +3,6 @@ /* 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 "xbt/str.h" #include "xbt/sysdep.h" #include #include diff --git a/examples/s4u/app-token-ring/s4u-app-token-ring.cpp b/examples/s4u/app-token-ring/s4u-app-token-ring.cpp index ce84f9c540..7f242e4eab 100644 --- a/examples/s4u/app-token-ring/s4u-app-token-ring.cpp +++ b/examples/s4u/app-token-ring/s4u-app-token-ring.cpp @@ -3,7 +3,6 @@ /* 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 "xbt/str.h" #include #include #include diff --git a/examples/s4u/async-wait/s4u-async-wait.cpp b/examples/s4u/async-wait/s4u-async-wait.cpp index b4c36a6be4..7742ccaabc 100644 --- a/examples/s4u/async-wait/s4u-async-wait.cpp +++ b/examples/s4u/async-wait/s4u-async-wait.cpp @@ -12,7 +12,6 @@ */ #include "simgrid/s4u.hpp" -#include "xbt/str.h" #include #include diff --git a/examples/s4u/async-waitall/s4u-async-waitall.cpp b/examples/s4u/async-waitall/s4u-async-waitall.cpp index 405e049b77..270894fe6e 100644 --- a/examples/s4u/async-waitall/s4u-async-waitall.cpp +++ b/examples/s4u/async-waitall/s4u-async-waitall.cpp @@ -13,7 +13,6 @@ */ #include "simgrid/s4u.hpp" -#include "xbt/str.h" #include #include diff --git a/examples/s4u/async-waitany/s4u-async-waitany.cpp b/examples/s4u/async-waitany/s4u-async-waitany.cpp index 706fd082fb..d94b036523 100644 --- a/examples/s4u/async-waitany/s4u-async-waitany.cpp +++ b/examples/s4u/async-waitany/s4u-async-waitany.cpp @@ -18,7 +18,6 @@ */ #include "simgrid/s4u.hpp" -#include "xbt/str.h" #include #include diff --git a/src/mc/mc_config.cpp b/src/mc/mc_config.cpp index 8aaefaf631..e61201c5b0 100644 --- a/src/mc/mc_config.cpp +++ b/src/mc/mc_config.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2008-2015. The SimGrid Team. +/* Copyright (c) 2008-2017. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -6,7 +6,6 @@ #include "xbt/config.h" #include "xbt/log.h" -#include #include #include diff --git a/src/simdag/sd_daxloader.cpp b/src/simdag/sd_daxloader.cpp index ac5d691fcc..d061716cc8 100644 --- a/src/simdag/sd_daxloader.cpp +++ b/src/simdag/sd_daxloader.cpp @@ -9,7 +9,6 @@ #include "xbt/file.h" /* xbt_basename() */ #include "xbt/log.h" #include "xbt/misc.h" -#include "xbt/str.h" #include XBT_LOG_NEW_DEFAULT_SUBCATEGORY(sd_daxparse, sd, "Parsing DAX files"); diff --git a/src/simgrid/sg_config.cpp b/src/simgrid/sg_config.cpp index 0da6263839..0c10cd45fb 100644 --- a/src/simgrid/sg_config.cpp +++ b/src/simgrid/sg_config.cpp @@ -11,7 +11,6 @@ #include "xbt/config.hpp" #include "xbt/log.h" #include "xbt/mallocator.h" -#include "xbt/str.h" #include "xbt/sysdep.h" #include "surf/surf.h" #include "surf/maxmin.h" diff --git a/src/smpi/internals/smpi_utils.cpp b/src/smpi/internals/smpi_utils.cpp index 0a043ae7f3..86594e15e4 100644 --- a/src/smpi/internals/smpi_utils.cpp +++ b/src/smpi/internals/smpi_utils.cpp @@ -7,7 +7,6 @@ #include "smpi/smpi_utils.hpp" #include "xbt/sysdep.h" #include "xbt/log.h" -#include "xbt/str.h" #include XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_utils, smpi, "Logging specific to SMPI (utils)"); diff --git a/src/surf/trace_mgr.cpp b/src/surf/trace_mgr.cpp index df5f1eed8b..dbbf1ae424 100644 --- a/src/surf/trace_mgr.cpp +++ b/src/surf/trace_mgr.cpp @@ -6,7 +6,6 @@ #include "xbt/sysdep.h" #include "xbt/log.h" -#include "xbt/str.h" #include "src/surf/surf_interface.hpp" #include "src/surf/trace_mgr.hpp" diff --git a/src/surf/xml/surfxml_parseplatf.cpp b/src/surf/xml/surfxml_parseplatf.cpp index 0e4d96d3dd..f3f0e08064 100644 --- a/src/surf/xml/surfxml_parseplatf.cpp +++ b/src/surf/xml/surfxml_parseplatf.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2006-2015. The SimGrid Team. +/* Copyright (c) 2006-2017. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -9,7 +9,6 @@ #include "src/surf/network_interface.hpp" #include "xbt/log.h" #include "xbt/misc.h" -#include "xbt/str.h" #include #include "src/surf/xml/platf_private.hpp" diff --git a/src/xbt/backtrace_linux.cpp b/src/xbt/backtrace_linux.cpp index 7fa8051de7..9bcdf55579 100644 --- a/src/xbt/backtrace_linux.cpp +++ b/src/xbt/backtrace_linux.cpp @@ -21,7 +21,6 @@ #include #include "xbt/ex.h" #include "xbt/log.h" -#include "xbt/str.h" #include "xbt/module.h" /* xbt_binary_name */ #include "src/xbt_modinter.h" /* backtrace initialization headers */ #if SIMGRID_HAVE_MC diff --git a/src/xbt/ex.cpp b/src/xbt/ex.cpp index f609b1d7c0..f167d6d3b6 100644 --- a/src/xbt/ex.cpp +++ b/src/xbt/ex.cpp @@ -52,7 +52,6 @@ #include "xbt/log.hpp" #include "xbt/backtrace.h" #include "xbt/backtrace.hpp" -#include "xbt/str.h" #include "src/xbt_modinter.h" /* backtrace initialization headers */ #include "simgrid/sg_config.h" /* Configuration mechanism of SimGrid */ diff --git a/src/xbt/graph.c b/src/xbt/graph.c index 42c211f3bd..b82a58179d 100644 --- a/src/xbt/graph.c +++ b/src/xbt/graph.c @@ -1,6 +1,6 @@ /* a generic graph library. */ -/* Copyright (c) 2006-2014. The SimGrid Team. +/* Copyright (c) 2006-2017. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -12,7 +12,6 @@ #include "graph_private.h" #include "xbt/dict.h" #include "xbt/heap.h" -#include "xbt/str.h" #include "xbt/file.h" #include -- 2.20.1