diff options
Diffstat (limited to 'src/helper')
-rw-r--r-- | src/helper/command.c | 2 | ||||
-rw-r--r-- | src/helper/command.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/helper/command.c b/src/helper/command.c index 7ce7c224..035b7dbc 100644 --- a/src/helper/command.c +++ b/src/helper/command.c @@ -709,7 +709,7 @@ int handle_fast_command(struct command_context_s *cmd_ctx, char *cmd, char **arg return ERROR_OK; } -void process_jim_events() +void process_jim_events(void) { #ifdef JIM_EMBEDDED static int recursion = 0; diff --git a/src/helper/command.h b/src/helper/command.h index b410edb7..23125bed 100644 --- a/src/helper/command.h +++ b/src/helper/command.h @@ -79,7 +79,7 @@ extern int command_run_line(command_context_t *context, char *line); extern int command_run_linef(command_context_t *context, char *format, ...); extern void command_output_text(command_context_t *context, const char *data); -extern void process_jim_events(); +extern void process_jim_events(void); #define ERROR_COMMAND_CLOSE_CONNECTION (-600) #define ERROR_COMMAND_SYNTAX_ERROR (-601) |