ccanlint: handle duplicate dependencies in _info
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 30 Aug 2011 04:31:25 +0000 (14:01 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 30 Aug 2011 04:31:25 +0000 (14:01 +0930)
commit4c5ed661c625ac2638a18f9540ff5b9f96a6ba6f
treeaad293c6fa93eff66af593547bf651bab48b53c8
parent8af0812be4b3fcb82d82b70ea1b571225a76ca19
ccanlint: handle duplicate dependencies in _info

We eliminate dependencies as we recurse, but if a single _info file
lists a dependency twice, we add it to the list twice and this skip
over the middle ones.
tools/ccanlint/compulsory_tests/depends_exist.c
tools/depends.c