]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/compulsory_tests/has_main_header.c
ccanlint: rename structures to match keys
[ccan] / tools / ccanlint / compulsory_tests / has_main_header.c
index 259aa347ccaff19122e243231697354c694c3a0f..68ea1359581d59dc0fd11e8db3202dc9dfe0d652 100644 (file)
@@ -33,11 +33,11 @@ static void check_has_main_header(struct manifest *m,
                                       m->basename, m->basename);
 }
 
                                       m->basename, m->basename);
 }
 
-struct ccanlint has_main_header = {
+struct ccanlint main_header_exists = {
        .key = "main_header_exists",
        .name = "Module has main header file",
        .check = check_has_main_header,
        .needs = ""
 };
 
        .key = "main_header_exists",
        .name = "Module has main header file",
        .check = check_has_main_header,
        .needs = ""
 };
 
-REGISTER_TEST(has_main_header);
+REGISTER_TEST(main_header_exists);