summaryrefslogtreecommitdiff
path: root/src/target/target.h
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-11-16 00:35:11 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-11-16 00:35:11 -0800
commit1186f7efa72a86a7000dce60b090bd4f822cdceb (patch)
tree019473f28ff166a95f9ff1a24e6b92653fa52008 /src/target/target.h
parentdb094c2e60176b3c63ce788159b04a7024ad1010 (diff)
downloadopenocd+libswd-1186f7efa72a86a7000dce60b090bd4f822cdceb.tar.gz
openocd+libswd-1186f7efa72a86a7000dce60b090bd4f822cdceb.tar.bz2
openocd+libswd-1186f7efa72a86a7000dce60b090bd4f822cdceb.tar.xz
openocd+libswd-1186f7efa72a86a7000dce60b090bd4f822cdceb.zip
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 <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/target.h')
-rw-r--r--src/target/target.h6
1 files changed, 3 insertions, 3 deletions
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 <stddef.h>
-
-#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;
};