]> git.ozlabs.org Git - ccan/commit
ccanlint: score_file_error() takes printf-format
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 17 Jan 2011 05:47:49 +0000 (16:17 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 17 Jan 2011 05:47:49 +0000 (16:17 +1030)
commit7bb7cd58c2d9df126dd6072e5f3bec1eb4dc916b
tree1de5f99a5bc3e4701516cd3ee0f7cfeef780f353
parentd50528d6c5f834bad874385b3a2c118bb39fb9ac
ccanlint: score_file_error() takes printf-format

We simply build up the error string in score_file_error; a bit different
but simpler than current behaviour.  We keep around struct file_error
because some tests need it.
17 files changed:
tools/ccanlint/ccanlint.c
tools/ccanlint/ccanlint.h
tools/ccanlint/compulsory_tests/info_exists.c
tools/ccanlint/compulsory_tests/objects_build.c
tools/ccanlint/file_analysis.c
tools/ccanlint/tests/depends_accurate.c
tools/ccanlint/tests/examples_compile.c
tools/ccanlint/tests/examples_exist.c
tools/ccanlint/tests/headers_idempotent.c
tools/ccanlint/tests/info_documentation_exists.c
tools/ccanlint/tests/license_exists.c
tools/ccanlint/tests/no_trailing_whitespace.c
tools/ccanlint/tests/tests_compile.c
tools/ccanlint/tests/tests_compile_coverage.c
tools/ccanlint/tests/tests_coverage.c
tools/ccanlint/tests/tests_exist.c
tools/ccanlint/tests/tests_helpers_compile.c