]> git.ozlabs.org Git - ccan/commitdiff
configurator: Fix unused parameters
authorJon Griffiths <jon_p_griffiths@yahoo.com>
Wed, 24 Aug 2016 07:51:27 +0000 (19:51 +1200)
committerJon Griffiths <jon_p_griffiths@yahoo.com>
Mon, 29 Aug 2016 04:55:58 +0000 (16:55 +1200)
Signed-off-by: Jon Griffiths <jon_p_griffiths@yahoo.com>
tools/configurator/configurator.c

index 5d959cf33c6b04bdad29c8df6fb3d5f7e77874bc..67dadc61eb8a550cea7c3a86f491458a64647e81 100644 (file)
@@ -330,7 +330,7 @@ static struct test tests[] = {
          "     setcontext(&b);\n"
          "     x |= 4;\n"
          "}\n"
-         "int main(int argc, char *argv[]) {\n"
+         "int main(void) {\n"
          "     x |= 1;\n"
          "     getcontext(&a);\n"
          "     a.uc_stack.ss_sp = stack;\n"
@@ -354,7 +354,7 @@ static struct test tests[] = {
          "             worked = 1;\n"
          "     setcontext(&b);\n"
          "}\n"
-         "int main(int argc, char *argv[]) {\n"
+         "int main(void) {\n"
          "     void *ap = &worked;\n"
          "     void *aq = (void *)(~((ptrdiff_t)ap));\n"
          "     getcontext(&a);\n"