From 8fc5a9a5e90ba1c7580e9d883aed0d790e594c8e Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Sun, 29 Nov 2009 18:50:48 -0800 Subject: 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! --- src/helper/command.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/helper/command.h') 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) -- cgit v1.2.3