Re: [PATCH libinput] build-pedantic: use main(void)

2015-01-11 Thread Peter Hutterer
On Fri, Jan 09, 2015 at 10:34:46AM +0100, Marek Chalupa wrote: > 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

[PATCH libinput] build-pedantic: use main(void)

2015-01-09 Thread Marek Chalupa
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 --- test/build-pedantic.c | 2 +- 1 file changed, 1 in