summaryrefslogtreecommitdiff
path: root/src/target/target.h
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-12-13 12:52:23 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-12-13 12:52:23 -0800
commit38e376d232ecb3d6a436a20c09019d1a13b0d42b (patch)
tree86e24e00f6cb5ef1f4cc2560614b6ba7e1c3c251 /src/target/target.h
parent0a9d7cab6d76d1203d46e51140ad97d0b5cace56 (diff)
downloadopenocd+libswd-38e376d232ecb3d6a436a20c09019d1a13b0d42b.tar.gz
openocd+libswd-38e376d232ecb3d6a436a20c09019d1a13b0d42b.tar.bz2
openocd+libswd-38e376d232ecb3d6a436a20c09019d1a13b0d42b.tar.xz
openocd+libswd-38e376d232ecb3d6a436a20c09019d1a13b0d42b.zip
target: further shrink Jim-awareness
Don't include <helper/jim.h> from target.h ... not everything which touches targets needs to be able to talk to Jim. Plus, most files include this header by another path. Also, switch the affected files to use the classic sequence for #included files: all <framework/headers.h> first, then the "local_headers.h". This helps prevent growth of problematic layering, by minimizing entanglement. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/target.h')
-rw-r--r--src/target/target.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/target/target.h b/src/target/target.h
index fededb95..4151c228 100644
--- a/src/target/target.h
+++ b/src/target/target.h
@@ -27,7 +27,6 @@
#define TARGET_H
#include <helper/types.h>
-#include <helper/jim.h>
struct reg;
struct trace;
@@ -214,7 +213,7 @@ enum target_event
struct target_event_action {
enum target_event event;
- Jim_Interp *interp;
+ struct Jim_Interp *interp;
struct Jim_Obj *body;
int has_percent;
struct target_event_action *next;