summaryrefslogtreecommitdiff
path: root/src/target/target.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-29 18:21:59 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-30 16:29:34 -0800
commit8e8a359af2a5ab3cc7c795e147aa0ca3ec06288f (patch)
tree7bd24a9f0eb9a9c833385a65cffaee19a450562c /src/target/target.h
parente1ee27026569a94e58648d9825dc000dd53130d1 (diff)
downloadopenocd+libswd-8e8a359af2a5ab3cc7c795e147aa0ca3ec06288f.tar.gz
openocd+libswd-8e8a359af2a5ab3cc7c795e147aa0ca3ec06288f.tar.bz2
openocd+libswd-8e8a359af2a5ab3cc7c795e147aa0ca3ec06288f.tar.xz
openocd+libswd-8e8a359af2a5ab3cc7c795e147aa0ca3ec06288f.zip
target: avoid using interp global variable
Adds 'interp' to target_event_action structure to avoid using the global variable of the same name.
Diffstat (limited to 'src/target/target.h')
-rw-r--r--src/target/target.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/target/target.h b/src/target/target.h
index 009ec17b..af4727ce 100644
--- a/src/target/target.h
+++ b/src/target/target.h
@@ -222,6 +222,7 @@ enum target_event
struct target_event_action {
enum target_event event;
+ Jim_Interp *interp;
struct Jim_Obj *body;
int has_percent;
struct target_event_action *next;