On Wed, Aug 06, 2008, Spen wrote:
>
> I have committed the attached patch.
> It removes a few more build warnings.
> fixes broken mips build - unsure when this happened.
>
> fixes non working --enable-gccwarnings configure option.
> added --enable-gccwarnings to docs.
Attached is another warnings patch which fixes
../../src/helper/command.h:82: warning: function declaration isn’t a prototype
which repeats throughout the build with --enable-gccwarnings.
Patch is against today's svn r928.
Thanks,
Johannes
PS: IMHO --enable-gccwarnings should be the default.
Index: src/helper/command.c
===================================================================
--- src/helper/command.c (revision 926)
+++ src/helper/command.c (working copy)
@@ -709,7 +709,7 @@
return ERROR_OK;
}
-void process_jim_events()
+void process_jim_events(void)
{
#ifdef JIM_EMBEDDED
static int recursion = 0;
Index: src/helper/command.h
===================================================================
--- src/helper/command.h (revision 926)
+++ src/helper/command.h (working copy)
@@ -79,7 +79,7 @@
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)
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development