From: oharboe Date: Mon, 18 Aug 2008 18:27:09 +0000 (+0000) Subject: Johannes Stezenbach fix warnings X-Git-Tag: v0.1.0~370 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=835cfb82c904e5db4ba902ead627c8ebcfd4d13d;p=openocd Johannes Stezenbach fix warnings git-svn-id: svn://svn.berlios.de/openocd/trunk@929 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- 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)