From 835cfb82c904e5db4ba902ead627c8ebcfd4d13d Mon Sep 17 00:00:00 2001 From: oharboe Date: Mon, 18 Aug 2008 18:27:09 +0000 Subject: [PATCH] Johannes Stezenbach fix warnings git-svn-id: svn://svn.berlios.de/openocd/trunk@929 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/helper/command.c | 2 +- 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) -- 2.39.5