[MPlayer-dev-eng] [PATCH] code-cleanup: use (void) instead of () for declaring funktions whithout parameters
Dominik 'Rathann' Mierzejewski
dominik at rangers.eu.org
Thu Feb 9 15:08:13 CET 2006
On Thursday, 09 February 2006 at 01:33, Diego Biurrun wrote:
> 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.
Applied. Comments in the commit message.
R.
--
MPlayer developer and RPMs maintainer: http://rpm.greysector.net/mplayer/
There should be a science of discontent. People need hard times and oppression
to develop psychic muscles.
-- from "Collected Sayings of Muad'Dib" by the Princess Irulan
More information about the MPlayer-dev-eng
mailing list