mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-20 22:00:06 +01:00
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:
parent
fe8e6706bd
commit
6ba8f547d2
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue