forked from auracaster/openocd
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!
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user