X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Fcompulsory_tests%2Fhas_main_header.c;h=eb74e9f0101b016a577e98218428cd4e7e97cff6;hp=071c7157ba54b29fa7c822f0d5a31ab5fc8e048f;hb=fb4c4c3ddc24772f71a64ec02d2c9ddaeb6e9f6b;hpb=501b31cddfaa3e8a4374dc84f6f75d07dd2d0abb diff --git a/tools/ccanlint/compulsory_tests/has_main_header.c b/tools/ccanlint/compulsory_tests/has_main_header.c index 071c7157..eb74e9f0 100644 --- a/tools/ccanlint/compulsory_tests/has_main_header.c +++ b/tools/ccanlint/compulsory_tests/has_main_header.c @@ -12,7 +12,9 @@ #include #include -static void *check_has_main_header(struct manifest *m) +static void *check_has_main_header(struct manifest *m, + bool keep, + unsigned int *timeleft) { struct ccan_file *f; @@ -35,7 +37,8 @@ static const char *describe_has_main_header(struct manifest *m, } struct ccanlint has_main_header = { - .name = "No main header file", + .key = "has-main-header", + .name = "Module has main header file", .check = check_has_main_header, .describe = describe_has_main_header, };