]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/depends_accurate.c
ccanlint: list dependencies by key
[ccan] / tools / ccanlint / tests / depends_accurate.c
index 85301772c8193d259ac97f42195b8408480d914e..a6d3a73a85dd94b6b4289f4c14dd1100b260f80b 100644 (file)
@@ -90,6 +90,7 @@ struct ccanlint depends_accurate = {
        .key = "depends_accurate",
        .name = "Module's CCAN dependencies are the only CCAN files #included",
        .check = check_depends_accurate,
+       .needs = "depends_exist"
 };
 
-REGISTER_TEST(depends_accurate, &depends_exist, NULL);
+REGISTER_TEST(depends_accurate);