]> git.ozlabs.org Git - ccan-lca-2011.git/commit
ccanlint: fix _info option handling
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 18 Jan 2011 01:47:17 +0000 (12:17 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 18 Jan 2011 01:47:17 +0000 (12:17 +1030)
commitdb43894721895d0ec0a8e599440a9897136bfcb6
treee8d0f337ae24bbe5c30c399ac39afcc542e481d8
parent100444225380d3f5ca29424ea54703d308c7c651
ccanlint: fix _info option handling

Two places were using a bogus ccanlint struct: the side-effect was
that valgrind options didn't work, nor did license fixups.

Make REGISTER_TEST do the extern declaration, and remove the bogus
ones.
tools/ccanlint/ccanlint.h
tools/ccanlint/tests/info_documentation_exists.c
tools/ccanlint/tests/license_exists.c
tools/ccanlint/tests/tests_exist.c
tools/ccanlint/tests/tests_pass_valgrind.c