Remove unused main() args in many modules.
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 4 Nov 2016 20:55:47 +0000 (07:25 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 4 Nov 2016 20:55:47 +0000 (07:25 +1030)
commite7e57cbf6725debd99238ccd8e3bf273a8d7e61c
tree530df303d53f33fdc66ceb48e9c99669ef134042
parentc3a3b7453182a388c6cc076bd2983384ba3d0529
Remove unused main() args in many modules.

This makes us closer to compiling cleanly with -Wunused (as used by -Wextra).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
100 files changed:
ccan/alignof/_info
ccan/alignof/test/run.c
ccan/array_size/test/compile_fail-function-param.c
ccan/array_size/test/run.c
ccan/build_assert/test/compile_fail-expr.c
ccan/build_assert/test/compile_fail.c
ccan/build_assert/test/compile_ok.c
ccan/build_assert/test/run-BUILD_ASSERT_OR_ZERO.c
ccan/cast/test/compile_fail-cast_const.c
ccan/cast/test/compile_fail-cast_const2.c
ccan/cast/test/compile_fail-cast_const3.c
ccan/cast/test/compile_fail-cast_signed-const.c
ccan/cast/test/compile_fail-cast_signed-sizesame.c
ccan/cast/test/compile_fail-cast_signed.c
ccan/cast/test/compile_fail-cast_static-2.c
ccan/cast/test/compile_fail-cast_static-3.c
ccan/cast/test/compile_fail-cast_static.c
ccan/container_of/test/compile_fail-bad-type.c
ccan/container_of/test/compile_fail-types.c
ccan/container_of/test/compile_fail-var-types.c
ccan/container_of/test/run.c
ccan/endian/test/run.c
ccan/htable/test/run-copy.c
ccan/htable/test/run-size.c
ccan/htable/test/run-type-int.c
ccan/htable/test/run-type.c
ccan/htable/test/run.c
ccan/ilog/test/run-out-of-line.c
ccan/ilog/test/run.c
ccan/isaac/test/run.c
ccan/isaac/test/run64.c
ccan/likely/test/run-debug.c
ccan/likely/test/run.c
ccan/list/test/run-CCAN_LIST_DEBUG.c
ccan/list/test/run-check-corrupt.c
ccan/list/test/run-check-nonconst.c
ccan/list/test/run-list_del_from-assert.c
ccan/list/test/run-list_prev-list_next.c
ccan/list/test/run-prepend_list.c
ccan/list/test/run-single-eval.c
ccan/list/test/run.c
ccan/noerr/test/run.c
ccan/opt/test/compile_ok-const-arg.c
ccan/opt/test/run-add_desc.c
ccan/opt/test/run-checkopt.c
ccan/opt/test/run-consume_words.c
ccan/opt/test/run-iter.c
ccan/order/test/compile_fail_1.c
ccan/order/test/compile_fail_2.c
ccan/order/test/compile_ok.c
ccan/order/test/run-fancy.c
ccan/ptrint/_info
ccan/read_write_all/_info
ccan/read_write_all/test/run-read_all.c
ccan/read_write_all/test/run-write_all.c
ccan/str/test/compile_fail-STR_MAX_CHARS.c
ccan/str/test/compile_fail-strchr.c
ccan/str/test/compile_fail-strrchr.c
ccan/str/test/compile_fail-strstr.c
ccan/str/test/run-STR_MAX_CHARS.c
ccan/str/test/run.c
ccan/tal/grab_file/test/run-grab.c
ccan/tal/link/test/run.c
ccan/tal/stack/_info
ccan/tal/str/test/run-fmt-terminate.c
ccan/tal/str/test/run-strndup.c
ccan/tal/str/test/run-strreg.c
ccan/tal/str/test/run.c
ccan/tcon/test/compile_fail-container1.c
ccan/tcon/test/compile_fail-container1w.c
ccan/tcon/test/compile_fail-container2.c
ccan/tcon/test/compile_fail-container2w.c
ccan/tcon/test/compile_fail-container3.c
ccan/tcon/test/compile_fail-container3w.c
ccan/tcon/test/compile_fail-container4.c
ccan/tcon/test/compile_fail-container4w.c
ccan/tcon/test/compile_fail-tcon_cast.c
ccan/tcon/test/compile_fail-tcon_cast_wrap.c
ccan/tcon/test/compile_fail-wrap.c
ccan/tcon/test/compile_fail.c
ccan/tcon/test/compile_ok-container.c
ccan/tcon/test/compile_ok-sizeof.c
ccan/tcon/test/compile_ok-value.c
ccan/tcon/test/run-container.c
ccan/tcon/test/run-wrap.c
ccan/timer/test/run-corrupt.c
ccan/timer/test/run-corrupt2.c
ccan/timer/test/run-original-corrupt.c
ccan/typesafe_cb/test/compile_fail-cast_if_type-promotable.c
ccan/typesafe_cb/test/compile_fail-typesafe_cb-int.c
ccan/typesafe_cb/test/compile_fail-typesafe_cb.c
ccan/typesafe_cb/test/compile_fail-typesafe_cb_cast-multi.c
ccan/typesafe_cb/test/compile_fail-typesafe_cb_cast.c
ccan/typesafe_cb/test/compile_fail-typesafe_cb_postargs.c
ccan/typesafe_cb/test/compile_fail-typesafe_cb_preargs.c
ccan/typesafe_cb/test/compile_ok-typesafe_cb-NULL.c
ccan/typesafe_cb/test/compile_ok-typesafe_cb-undefined.c
ccan/typesafe_cb/test/compile_ok-typesafe_cb-vars.c
ccan/typesafe_cb/test/compile_ok-typesafe_cb_cast.c
ccan/typesafe_cb/test/run.c