]> git.ozlabs.org Git - ccan/blobdiff - tools/configurator/configurator.c
configurator: Fix unused parameters
[ccan] / 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"