style: [patch 3/22] reduce include dependencies in some headers
Used cppclean to help identify useless includes and removed them. This involved erroneously included headers, but also cases where forward declarations could have been used rather than a full include.
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
#ifndef __BASE_BITFIELD_HH__
|
||||
#define __BASE_BITFIELD_HH__
|
||||
|
||||
#include "base/types.hh"
|
||||
#include <inttypes.h>
|
||||
|
||||
/**
|
||||
* Generate a 64-bit mask of 'nbits' 1s, right justified.
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#define __BASE_BITUNION_HH__
|
||||
|
||||
#include "base/bitfield.hh"
|
||||
#include "base/types.hh"
|
||||
|
||||
// The following implements the BitUnion system of defining bitfields
|
||||
//on top of an underlying class. This is done through the pervasive use of
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "config/use_posix_clock.hh"
|
||||
#include "sim/core.hh"
|
||||
#include "sim/serialize.hh"
|
||||
|
||||
@@ -46,7 +46,8 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include "base/output.hh" //simout
|
||||
#include "base/misc.hh"
|
||||
#include "base/output.hh"
|
||||
#include "base/trace.hh"
|
||||
#include "debug/VNC.hh"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user