From: Gabe Black Date: Thu, 4 Feb 2021 07:03:10 +0000 (-0800) Subject: base: Remove unnecessary includes from base/loader/symtab.[cc|hh]. X-Git-Tag: develop-gem5-snapshot~142 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a2a24b33962b1eccbf76b122dea6976587707566;p=gem5.git 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 --- 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__