]> git.ozlabs.org Git - ccan/commit
ccanlint: remove wart from info options.
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 2 Dec 2011 03:37:20 +0000 (14:07 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 2 Dec 2011 03:37:20 +0000 (14:07 +1030)
commit64bd9ff9bc3e65bb0e77b982135d6612cda180cd
treed5071ccb3a187ee360dda4ed0a19779155b3e78f
parented4ee95401575dd314f7ca5b3719e0e22ef0c6e5
ccanlint: remove wart from info options.

Make info_exists() call add_info_options() directly, rather than detecting
that we've found _info inside the loop of tests.

It means targeting is now a global, which is a bit sucky.
tools/ccanlint/ccanlint.c
tools/ccanlint/ccanlint.h
tools/ccanlint/tests/info_exists.c