- list_for_each(&m->dep_dirs, f, list) {
- if (streq(f->name, depname))
+ list_for_each(&m->deps, i, list) {
+ if (streq(i->basename, depname))
&m->compile_ok_tests, &m->compile_fail_tests,
&m->other_test_c_files) {
struct ccan_file *f;
&m->compile_ok_tests, &m->compile_fail_tests,
&m->other_test_c_files) {
struct ccan_file *f;
if (!strstarts(p, "#include<ccan/")
&& !strstarts(p, "#include\"ccan/"))
continue;
if (!strstarts(p, "#include<ccan/")
&& !strstarts(p, "#include\"ccan/"))
continue;
if (!strchr(strchr(p, '/') + 1, '/'))
continue;
*strchr(strchr(p, '/') + 1, '/') = '\0';
if (!strchr(strchr(p, '/') + 1, '/'))
continue;
*strchr(strchr(p, '/') + 1, '/') = '\0';
- .key = "depends-accurate",
- .name = "Module's CCAN dependencies are the only ccan files #included",
+ .key = "depends_accurate",
+ .name = "Module's CCAN dependencies are the only CCAN files #included",