base: Remove unnecessary includes from base/loader/symtab.[cc|hh].
authorGabe Black <gabe.black@gmail.com>
Thu, 4 Feb 2021 07:03:10 +0000 (23:03 -0800)
committerGabe Black <gabe.black@gmail.com>
Fri, 5 Feb 2021 04:01:52 +0000 (04:01 +0000)
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 <odanrc@yahoo.com.br>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/base/loader/symtab.cc
src/base/loader/symtab.hh

index 2a23661d884a45af5ecbf602a1e215dda79bdde1..c2c53cc1e014bb3c16bff6a01e7ca6baf7c8d0c9 100644 (file)
 
 #include <fstream>
 #include <iostream>
-#include <string>
-#include <vector>
 
 #include "base/logging.hh"
 #include "base/str.hh"
-#include "base/trace.hh"
-#include "base/types.hh"
-#include "sim/serialize.hh"
 
 namespace Loader
 {
index 1e99fecd71f5526ecf89627887c388347d4907d5..a0203a692995d608fc7c8920446ffba0eb8c06e5 100644 (file)
@@ -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 <functional>
 #include <iosfwd>
@@ -36,7 +36,6 @@
 #include <string>
 #include <vector>
 
-#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__