]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/compulsory_tests/check_depends_exist.c
ccanlint: rename structures to match keys
[ccan] / tools / ccanlint / compulsory_tests / check_depends_exist.c
index ffbf4539bf6f07ad31a3e8aaaf8390ceb8b2f9f0..12eaf021410153c5567ea1abd22a98afa5ba0b51 100644 (file)
@@ -72,6 +72,7 @@ struct ccanlint depends_exist = {
        .key = "depends_exist",
        .name = "Module's CCAN dependencies can be found",
        .check = check_depends_exist,
+       .needs = "info_exists"
 };
 
-REGISTER_TEST(depends_exist, &has_info, NULL);
+REGISTER_TEST(depends_exist);