summaryrefslogtreecommitdiff
path: root/src/helper/command.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-29 18:50:48 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-30 16:29:34 -0800
commit8fc5a9a5e90ba1c7580e9d883aed0d790e594c8e (patch)
treedac4e48d14ed8ac37541bdfd9433629cca3da511 /src/helper/command.h
parentcbc894ed7b07f7eea34acfea62c728bdf182918f (diff)
downloadopenocd+libswd-8fc5a9a5e90ba1c7580e9d883aed0d790e594c8e.tar.gz
openocd+libswd-8fc5a9a5e90ba1c7580e9d883aed0d790e594c8e.tar.bz2
openocd+libswd-8fc5a9a5e90ba1c7580e9d883aed0d790e594c8e.tar.xz
openocd+libswd-8fc5a9a5e90ba1c7580e9d883aed0d790e594c8e.zip
remove interp global variable!
Finish removing references to the 'interp' global variable from the command module, encapsulating all reference via command_context. Eliminates use of the global entirely, so it can be removed. Hurrah!
Diffstat (limited to 'src/helper/command.h')
-rw-r--r--src/helper/command.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/command.h b/src/helper/command.h
index f27364ea..611db873 100644
--- a/src/helper/command.h
+++ b/src/helper/command.h
@@ -351,7 +351,7 @@ int command_run_linef(struct command_context *context, const char *format, ...)
__attribute__ ((format (PRINTF_ATTRIBUTE_FORMAT, 2, 3)));
void command_output_text(struct command_context *context, const char *data);
-void process_jim_events(void);
+void process_jim_events(struct command_context *cmd_ctx);
#define ERROR_COMMAND_CLOSE_CONNECTION (-600)
#define ERROR_COMMAND_SYNTAX_ERROR (-601)