From 1186f7efa72a86a7000dce60b090bd4f822cdceb Mon Sep 17 00:00:00 2001 From: David Brownell Date: Mon, 16 Nov 2009 00:35:11 -0800 Subject: target: less implicit inclusion of "command.h" Lots of files still include it, often through needless duplicate inclusion of "log.h"; sigh. This cleans up the inclusion graph a bunch, so there are fewer inclusion paths, but it doesn't change much otherwise. Signed-off-by: David Brownell --- src/target/arm_simulator.c | 1 - src/target/armv4_5.h | 1 - src/target/armv7a.c | 1 - src/target/armv7a.h | 1 - src/target/target.h | 6 +++--- 5 files changed, 3 insertions(+), 7 deletions(-) (limited to 'src/target') diff --git a/src/target/arm_simulator.c b/src/target/arm_simulator.c index 46cd5587..120d5b92 100644 --- a/src/target/arm_simulator.c +++ b/src/target/arm_simulator.c @@ -27,7 +27,6 @@ #include "armv4_5.h" #include "arm_disassembler.h" #include "arm_simulator.h" -#include "log.h" #include "binarybuffer.h" diff --git a/src/target/armv4_5.h b/src/target/armv4_5.h index 83b38b65..6c0b881a 100644 --- a/src/target/armv4_5.h +++ b/src/target/armv4_5.h @@ -28,7 +28,6 @@ #include "register.h" #include "target.h" -#include "log.h" #include "etm.h" typedef enum armv4_5_mode diff --git a/src/target/armv7a.c b/src/target/armv7a.c index c94d3b0f..7b33053d 100644 --- a/src/target/armv7a.c +++ b/src/target/armv7a.c @@ -27,7 +27,6 @@ #include "target.h" #include "register.h" -#include "log.h" #include "binarybuffer.h" #include "command.h" diff --git a/src/target/armv7a.h b/src/target/armv7a.h index 5cdffd86..625c3a9a 100644 --- a/src/target/armv7a.h +++ b/src/target/armv7a.h @@ -21,7 +21,6 @@ #include "register.h" #include "target.h" -#include "log.h" #include "arm_adi_v5.h" #include "armv4_5.h" #include "armv4_5_mmu.h" diff --git a/src/target/target.h b/src/target/target.h index 75bc4f02..51fb299c 100644 --- a/src/target/target.h +++ b/src/target/target.h @@ -27,8 +27,8 @@ #define TARGET_H #include - -#include "command.h" +#include "types.h" +#include "jim.h" struct reg; struct trace; @@ -230,7 +230,7 @@ enum target_event struct target_event_action { enum target_event event; - Jim_Obj *body; + struct Jim_Obj *body; int has_percent; struct target_event_action *next; }; -- cgit v1.2.3