[PATCH 2/2] sumtool/libfec: convert "()" to "(void)" in func defs
Artem Bityutskiy
dedekind1 at gmail.com
Sat Oct 2 10:17:02 EDT 2010
On Fri, 2010-10-01 at 13:11 -0400, Mike Frysinger wrote:
> Since these functions take no parameters, declare them as such. The
> subtle difference here is that gcc allows (without warning) people to
> accidentally call funcs declared with "()" with arguments. Using void
> makes sure that gcc will reject such typos at compile time.
>
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
Pushed, thanks!
--
Best Regards,
Artem Bityutskiy (Битюцкий Артём)
More information about the linux-mtd
mailing list