From: Alan Coopersmith Date: Thu, 22 Dec 2011 05:31:51 +0000 (-0800) Subject: print_version expects no arguments, so give it none X-Git-Url: https://diplodocus.org/git/xorg-xinput/commitdiff_plain/c690fad9aa0dbc9d574d25e014d1dc15281b0870?ds=inline;hp=c690fad9aa0dbc9d574d25e014d1dc15281b0870 print_version expects no arguments, so give it none Fixes Solaris Studio compiler warning: "xinput.c", line 357: warning: argument mismatch: 1 arg passed, 0 expected gcc ignored it because the function declaration didn't specify arguments. Once you specify (void) for the arguments, gcc then throws up: xinput.c: In function ‘main’: xinput.c:357:9: error: too many arguments to function ‘print_version’ xinput.c:147:1: note: declared here Signed-off-by: Alan Coopersmith Signed-off-by: Peter Hutterer ---