[PATCH libevdev 1/2] test: drop unused parameters from test's main()

Peter Hutterer peter.hutterer at who-t.net
Tue May 9 03:45:20 UTC 2017


Not needed, so let's get rid of the compiler warning.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 test/test-main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/test-main.c b/test/test-main.c
index 1f7f6f4..d80806f 100644
--- a/test/test-main.c
+++ b/test/test-main.c
@@ -68,7 +68,7 @@ is_debugger_attached(void)
 	return rc;
 }
 
-int main(int argc, char **argv)
+int main(void)
 {
 	const struct rlimit corelimit = {0, 0};
 	int failed;
-- 
2.12.2



More information about the Input-tools mailing list