[MPlayer-dev-eng] [PATCH] code-cleanup: use (void) instead of () for declaring funktions whithout parameters
Diego Biurrun
diego at biurrun.de
Thu Feb 9 01:33:42 CET 2006
On Mon, Jan 30, 2006 at 11:58:46PM +0100, Stefan Huehner wrote:
>
> patch replaces '()' for the correct '(void)' in function
> declarations/prototypes which have no parameters. The '()' syntax tell
> thats there is a variable list of arguments, so that the compiler cannot
> check this. The extra CFLAG '-Wstrict-declarations' shows those cases.
Dominik, a warnings patch, your territory :)
Something very similar was just committed to FFmpeg, this is a good
indication that this patch should be safe to apply.
Diego
More information about the MPlayer-dev-eng
mailing list