build-pedantic: use main(void)
authorMarek Chalupa <mchqwerty@gmail.com>
Fri, 9 Jan 2015 09:34:46 +0000 (10:34 +0100)
committerPeter Hutterer <peter.hutterer@who-t.net>
Sun, 11 Jan 2015 21:54:12 +0000 (07:54 +1000)
commit6ba8f547d251f91cb539c4c6fd0b22e73ae76bcd
tree89bdfe813383fd27b8f47b342947f856cf10865f
parentfe8e6706bd847ddfe43337d544f88318ec63946d
build-pedantic: use main(void)

Main has unused parameters argc and argv. Since they are unused and
C 99 allows to prototype main as 'int main(void)',
remove them and replace by void. It fixes build when unused parameters
are treated as errors.

Signed-off-by: Marek Chalupa <mchqwerty@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/build-pedantic.c