ccanlint: mark unused parameters. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccanlint: Add cflags support to _info
tools: use tal instead of talloc. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
tools: don't assume modules are immediately below ccan/ dir. Removing this assumption should allow nested modules. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
tools: enhance get_libs to get libraries for tests, too. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccanlint: recurse to get -l options. If a dependent module needs -l options, we don't notice. Fix that, now we have one.
ccanlint: module_links test must link with module. Gcc doesn't include unused inline functions, even without -O, but Solaris CC does, so fails to link block_pool where one inline function refers to a non-inline function.
ccanlint: remove argument to -k/--keep It's much easier to simply say "keep all", and it simplifies the code quite a bit.
ccanlint: make fewer tests compulsory. Compulsory means "malformed", we might get rid of it altogether, since any test can mark "fail" and make ccanlint exit with non-zero status. Now we only have four compulsory tests: info_exists Module has _info file depends_exist Module's CCAN dependencies can be found objects_build Module object files can be built module_builds Module can be built from object files