ccanlint: rename structures to match keys
[ccan] / tools / ccanlint / compulsory_tests / has_info.c
index b61ee0aefb79670bfa913f68a5311d18e5e65b05..a9a6c1c993a77c532515fe5c92eef282cccafba9 100644 (file)
@@ -74,7 +74,7 @@ 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,
@@ -82,4 +82,4 @@ struct ccanlint has_info = {
        .needs = ""
 };
 
-REGISTER_TEST(has_info);
+REGISTER_TEST(info_exists);