Skip to content
Snippets Groups Projects
Commit 6ba8f547 authored by Marek Chalupa's avatar Marek Chalupa Committed by Peter Hutterer
Browse files

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: default avatarMarek Chalupa <mchqwerty@gmail.com>
Signed-off-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
parent fe8e6706
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment