X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Fcompulsory_tests%2Fhas_main_header.c;h=68ea1359581d59dc0fd11e8db3202dc9dfe0d652;hb=2926cafb52b9d95646d9dafa877d53f2368d8b2c;hp=338f7af789fece9a2b99f222002d0d777908288e;hpb=f9423c171395571f9880286190d9cf63da147668;p=ccan diff --git a/tools/ccanlint/compulsory_tests/has_main_header.c b/tools/ccanlint/compulsory_tests/has_main_header.c index 338f7af7..68ea1359 100644 --- a/tools/ccanlint/compulsory_tests/has_main_header.c +++ b/tools/ccanlint/compulsory_tests/has_main_header.c @@ -33,10 +33,11 @@ static void check_has_main_header(struct manifest *m, 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 = "" }; -REGISTER_TEST(has_main_header, NULL); +REGISTER_TEST(main_header_exists);