From de950994b2238c2568602dd2a7ac40e827e3d8c6 Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Tue, 14 Aug 2018 21:31:17 +0200 Subject: Change the way unused arguments are handled Use the __unused macro when declaring unused arguments in function definitions. Use main(void) instead of main(argc, argv) where appropriate. --- test/test_fmt_sscanf.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'test/test_fmt_sscanf.c') diff --git a/test/test_fmt_sscanf.c b/test/test_fmt_sscanf.c index 3c16a56..3303034 100644 --- a/test/test_fmt_sscanf.c +++ b/test/test_fmt_sscanf.c @@ -739,11 +739,8 @@ test_42(void) } int -main(int argc, char *argv[]) +main(void) { - (void)argc; - (void)argv; - test_1(); test_2(); test_3(); -- cgit v1.2.3