diff options
author | Brandon Potter <brandon.potter@amd.com> | 2016-11-09 14:27:40 -0600 |
---|---|---|
committer | Brandon Potter <brandon.potter@amd.com> | 2016-11-09 14:27:40 -0600 |
commit | a928a438b8a005e5b6059bc5db0687bf64abcfa6 (patch) | |
tree | 4a69371c4f8efdfe784bce80a63e58f8ace665cc /src/dev/net | |
parent | 93d8e6b898a70a3f6dba9da385d5933683bf325f (diff) | |
download | gem5-a928a438b8a005e5b6059bc5db0687bf64abcfa6.tar.xz |
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.
Diffstat (limited to 'src/dev/net')
-rw-r--r-- | src/dev/net/dist_iface.hh | 1 | ||||
-rw-r--r-- | src/dev/net/etherbus.cc | 1 | ||||
-rw-r--r-- | src/dev/net/etherswitch.cc | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/src/dev/net/dist_iface.hh b/src/dev/net/dist_iface.hh index a56b9a3bb..c02c39530 100644 --- a/src/dev/net/dist_iface.hh +++ b/src/dev/net/dist_iface.hh @@ -83,6 +83,7 @@ #include <thread> #include <utility> +#include "base/misc.hh" #include "dev/net/dist_packet.hh" #include "dev/net/etherpkt.hh" #include "sim/core.hh" diff --git a/src/dev/net/etherbus.cc b/src/dev/net/etherbus.cc index 042c4ec84..7ccb8a4ac 100644 --- a/src/dev/net/etherbus.cc +++ b/src/dev/net/etherbus.cc @@ -38,6 +38,7 @@ #include <string> #include <vector> +#include "base/misc.hh" #include "base/trace.hh" #include "debug/Ethernet.hh" #include "debug/EthernetData.hh" diff --git a/src/dev/net/etherswitch.cc b/src/dev/net/etherswitch.cc index c9698cf63..995e29a0c 100644 --- a/src/dev/net/etherswitch.cc +++ b/src/dev/net/etherswitch.cc @@ -36,7 +36,9 @@ #include "dev/net/etherswitch.hh" #include "base/random.hh" +#include "base/trace.hh" #include "debug/EthernetAll.hh" +#include "sim/core.hh" using namespace std; |