From: Joel Stanley Date: Mon, 20 Jul 2015 06:01:23 +0000 (+0930) Subject: short_types: Fix warning in test X-Git-Url: http://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=60d22760a069b2adebda59dd68edbe70304584cf short_types: Fix warning in test Our project builds the ccan tests with -Wextra, so we get warnings about the unused variables. Signed-off-by: Joel Stanley Signed-off-by: Rusty Russell --- diff --git a/ccan/short_types/test/run-endian.c b/ccan/short_types/test/run-endian.c index 17508e11..108e3ab7 100644 --- a/ccan/short_types/test/run-endian.c +++ b/ccan/short_types/test/run-endian.c @@ -4,7 +4,7 @@ #include #include -int main(int argc, char *argv[]) +int main(void) { plan_tests(6); diff --git a/ccan/short_types/test/run.c b/ccan/short_types/test/run.c index 6da3f9bc..2bff4b78 100644 --- a/ccan/short_types/test/run.c +++ b/ccan/short_types/test/run.c @@ -3,7 +3,7 @@ #include #include -int main(int argc, char *argv[]) +int main(void) { plan_tests(16);