]> www.infradead.org Git - mtd-utils.git/commit
sumtool/libfec: convert "()" to "(void)" in func defs
authorMike Frysinger <vapier@gentoo.org>
Fri, 1 Oct 2010 17:11:28 +0000 (13:11 -0400)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sat, 2 Oct 2010 14:16:36 +0000 (17:16 +0300)
commit2e6f057227fb60465bd76876cf783ad56561930c
tree3137844b6d7ad96250c050467554c23f111bfb87
parentc21a3ad8e20477833c0c39b214f13a4bbf7f9ac3
sumtool/libfec: convert "()" to "(void)" in func defs

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@gentoo.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
lib/libfec.c
sumtool.c