libinput/test/build-pedantic.c
Marek Chalupa 6ba8f547d2 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>
2015-01-12 07:54:12 +10:00

8 lines
86 B
C

#include <libinput.h>
/* This is a build-test only */
int
main(void) {
return 0;
}