From a2a24b33962b1eccbf76b122dea6976587707566 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Wed, 3 Feb 2021 23:03:10 -0800 Subject: [PATCH] base: Remove unnecessary includes from base/loader/symtab.[cc|hh]. These were either completely unnecessary, or headers in the .cc which had already been included in the .hh and were not needed beyond their use in the .hh. Change-Id: Ic95e29f3fdd8cab00ab93d254d2e1c25aacf4632 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/40619 Reviewed-by: Daniel Carvalho Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power Tested-by: kokoro --- src/base/loader/symtab.cc | 5 ----- src/base/loader/symtab.hh | 7 +++---- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/base/loader/symtab.cc b/src/base/loader/symtab.cc index 2a23661d8..c2c53cc1e 100644 --- a/src/base/loader/symtab.cc +++ b/src/base/loader/symtab.cc @@ -30,14 +30,9 @@ #include #include -#include -#include #include "base/logging.hh" #include "base/str.hh" -#include "base/trace.hh" -#include "base/types.hh" -#include "sim/serialize.hh" namespace Loader { diff --git a/src/base/loader/symtab.hh b/src/base/loader/symtab.hh index 1e99fecd7..a0203a692 100644 --- a/src/base/loader/symtab.hh +++ b/src/base/loader/symtab.hh @@ -26,8 +26,8 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef __SYMTAB_HH__ -#define __SYMTAB_HH__ +#ifndef __BASE_LOADER_SYMTAB_HH__ +#define __BASE_LOADER_SYMTAB_HH__ #include #include @@ -36,7 +36,6 @@ #include #include -#include "base/trace.hh" #include "base/types.hh" #include "sim/serialize.hh" @@ -239,4 +238,4 @@ extern SymbolTable debugSymbolTable; } // namespace Loader -#endif // __SYMTAB_HH__ +#endif // __BASE_LOADER_SYMTAB_HH__ -- 2.30.2