Commit c5ebb47c authored by Jon Griffiths's avatar Jon Griffiths

configurator: Fix unused parameters

Signed-off-by: default avatarJon Griffiths <jon_p_griffiths@yahoo.com>
parent 80e95491
...@@ -330,7 +330,7 @@ static struct test tests[] = { ...@@ -330,7 +330,7 @@ static struct test tests[] = {
" setcontext(&b);\n" " setcontext(&b);\n"
" x |= 4;\n" " x |= 4;\n"
"}\n" "}\n"
"int main(int argc, char *argv[]) {\n" "int main(void) {\n"
" x |= 1;\n" " x |= 1;\n"
" getcontext(&a);\n" " getcontext(&a);\n"
" a.uc_stack.ss_sp = stack;\n" " a.uc_stack.ss_sp = stack;\n"
...@@ -354,7 +354,7 @@ static struct test tests[] = { ...@@ -354,7 +354,7 @@ static struct test tests[] = {
" worked = 1;\n" " worked = 1;\n"
" setcontext(&b);\n" " setcontext(&b);\n"
"}\n" "}\n"
"int main(int argc, char *argv[]) {\n" "int main(void) {\n"
" void *ap = &worked;\n" " void *ap = &worked;\n"
" void *aq = (void *)(~((ptrdiff_t)ap));\n" " void *aq = (void *)(~((ptrdiff_t)ap));\n"
" getcontext(&a);\n" " getcontext(&a);\n"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment