]> git.ozlabs.org Git - ccan/commitdiff
tools/ccanlint: test_depends_accurate: catch #include of other ccan C files.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 30 Aug 2016 00:35:06 +0000 (10:05 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 30 Aug 2016 00:48:40 +0000 (10:18 +0930)
Jon sent a test patch for sha256 which "#include <ccan/str/hex/hex.c>"
without adding str/hex to testdepends.  It "worked" (it wouldn't have
linked with "hex.h"), but ccanlint didn't spot the dependency.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

No differences found