X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Fcompulsory_tests%2Fhas_main_header.c;h=eb74e9f0101b016a577e98218428cd4e7e97cff6;hp=b404aef80d1d40b94346ee5b018a06823838fbde;hb=d3104024f71cf4f89195787add6c7ac381d62f40;hpb=f952b88b36e3803370825fb43385f1a42aa24b64 diff --git a/tools/ccanlint/compulsory_tests/has_main_header.c b/tools/ccanlint/compulsory_tests/has_main_header.c index b404aef8..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; @@ -36,7 +38,7 @@ static const char *describe_has_main_header(struct manifest *m, struct ccanlint has_main_header = { .key = "has-main-header", - .name = "No main header file", + .name = "Module has main header file", .check = check_has_main_header, .describe = describe_has_main_header, };