]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/compulsory_tests/has_info.c
ccanlint: list dependencies by key
[ccan] / tools / ccanlint / compulsory_tests / has_info.c
index ce131f85686ec88111c1b0ea709a04c77fbbcc50..b61ee0aefb79670bfa913f68a5311d18e5e65b05 100644 (file)
@@ -75,10 +75,11 @@ static void create_info_template(struct manifest *m, struct score *score)
 }
 
 struct ccanlint has_info = {
-       .key = "info",
+       .key = "info_exists",
        .name = "Module has _info file",
        .check = check_has_info,
        .handle = create_info_template,
+       .needs = ""
 };
 
-REGISTER_TEST(has_info, NULL);
+REGISTER_TEST(has_info);