]> git.ozlabs.org Git - ccan-lca-2011.git/blobdiff - tools/ccanlint/compulsory_tests/has_main_header.c
ccanlint: list dependencies by key
[ccan-lca-2011.git] / tools / ccanlint / compulsory_tests / has_main_header.c
index bce6ef485a2b448778e0aefd69742e426ce243b7..259aa347ccaff19122e243231697354c694c3a0f 100644 (file)
@@ -34,9 +34,10 @@ static void check_has_main_header(struct manifest *m,
 }
 
 struct ccanlint has_main_header = {
-       .key = "has-main-header",
+       .key = "main_header_exists",
        .name = "Module has main header file",
        .check = check_has_main_header,
+       .needs = ""
 };
 
-REGISTER_TEST(has_main_header, NULL);
+REGISTER_TEST(has_main_header);