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>
This commit is contained in:
Marek Chalupa 2015-01-09 10:34:46 +01:00 committed by Peter Hutterer
parent fe8e6706bd
commit 6ba8f547d2

View file

@ -3,6 +3,6 @@
/* This is a build-test only */ /* This is a build-test only */
int int
main(int argc, char **argv) { main(void) {
return 0; return 0;
} }