Johannes Stezenbach <js@sig21.net> fix warnings
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 18 Aug 2008 18:27:09 +0000 (18:27 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 18 Aug 2008 18:27:09 +0000 (18:27 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@929 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/helper/command.c
src/helper/command.h

index 7ce7c2245d94768065f4d63470a5f932ef34cdc5..035b7dbc761cf6da865a7f8fb118b8fe041e8655 100644 (file)
@@ -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;
index b410edb7d6af694c1f3385e25daea272d7eb291e..23125bedc46d58a58e0d851fb7dd4a674b53949b 100644 (file)
@@ -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)