]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/compulsory_tests/has_info.c
ccanlint: rename structures to match keys
[ccan] / tools / ccanlint / compulsory_tests / has_info.c
index 5b71efa4fc9fd9c1304098a5e134d51a3c513e29..a9a6c1c993a77c532515fe5c92eef282cccafba9 100644 (file)
@@ -74,11 +74,12 @@ static void create_info_template(struct manifest *m, struct score *score)
        fclose(info);
 }
 
-struct ccanlint has_info = {
+struct ccanlint info_exists = {
        .key = "info_exists",
        .name = "Module has _info file",
        .check = check_has_info,
        .handle = create_info_template,
+       .needs = ""
 };
 
-REGISTER_TEST(has_info, NULL);
+REGISTER_TEST(info_exists);