]> git.ozlabs.org Git - ccan/commit
Mark unused arguments in many modules.
authorRusty Russell <rusty@rustcorp.com.au>
Sun, 6 Nov 2016 04:34:17 +0000 (15:04 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Sun, 6 Nov 2016 05:16:27 +0000 (15:46 +1030)
commitad2ce76c10f808283ea7cf25cd8e76a15710c4f3
tree075891149b0b536d6f7f395d41a6a79cb92aaec1
parent5877402640cff05f779b23a730e4cc62d729113f
Mark unused arguments in many modules.

Either with UNNEEDED (if the module already used ccan/compiler) or
with (void) casting.

The only other change is in ccan/list/test/run-CCAN_LIST_DEBUG.c, because
the linenumbers change and thus it needs updating.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
73 files changed:
ccan/array_size/test/compile_fail.c
ccan/asort/test/compile_fail-context-type.c
ccan/autodata/autodata.c
ccan/cast/test/compile_ok-static.c
ccan/check_type/test/compile_fail-check_type.c
ccan/check_type/test/compile_fail-check_type_unsigned.c
ccan/check_type/test/compile_fail-check_types_match.c
ccan/check_type/test/run.c
ccan/compiler/_info
ccan/compiler/test/compile_fail-printf.c
ccan/compiler/test/run-is_compile_constant.c
ccan/crypto/siphash24/siphash24.c
ccan/err/test/run.c
ccan/htable/_info
ccan/htable/htable.h
ccan/htable/test/run-copy.c
ccan/htable/test/run-size.c
ccan/htable/test/run-type-int.c
ccan/htable/test/run-zero-hash-first-entry.c
ccan/htable/test/run.c
ccan/list/test/run-CCAN_LIST_DEBUG.c
ccan/list/test/run-check-corrupt.c
ccan/mem/mem.h
ccan/opt/opt.h
ccan/opt/test/run-add_desc.c
ccan/opt/test/run-helpers.c
ccan/opt/test/run-set_alloc.c
ccan/opt/test/run-usage.c
ccan/opt/test/utils.c
ccan/order/order.c
ccan/read_write_all/test/run-read_all.c
ccan/read_write_all/test/run-write_all.c
ccan/str/test/compile_fail-isalnum.c
ccan/str/test/compile_fail-isalpha.c
ccan/str/test/compile_fail-isascii.c
ccan/str/test/compile_fail-isblank.c
ccan/str/test/compile_fail-iscntrl.c
ccan/str/test/compile_fail-isdigit.c
ccan/str/test/compile_fail-islower.c
ccan/str/test/compile_fail-isprint.c
ccan/str/test/compile_fail-ispunct.c
ccan/str/test/compile_fail-isspace.c
ccan/str/test/compile_fail-isupper.c
ccan/str/test/compile_fail-isxdigit.c
ccan/strmap/_info
ccan/strmap/test/run-iterate-const.c
ccan/strmap/test/run-prefix.c
ccan/take/test/run.c
ccan/tal/link/link.c
ccan/tal/link/test/run.c
ccan/tal/str/str.h
ccan/tal/tal.c
ccan/tal/test/run-allocfail.c
ccan/tal/test/run-destructor.c
ccan/tal/test/run-free.c
ccan/tal/test/run-notifier.c
ccan/tal/test/run-overflow.c
ccan/tal/test/run-test-backend.c
ccan/tcon/test/compile_ok-void.c
ccan/tcon/test/compile_ok.c
ccan/timer/_info
ccan/timer/timer.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