X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Fhas_info_documentation.c;h=2823e66b6700b10536838234604761c316f4ef96;hp=aed229340dea38fe4555d8132396515167053d9f;hb=fb4c4c3ddc24772f71a64ec02d2c9ddaeb6e9f6b;hpb=f952b88b36e3803370825fb43385f1a42aa24b64 diff --git a/tools/ccanlint/tests/has_info_documentation.c b/tools/ccanlint/tests/has_info_documentation.c index aed22934..2823e66b 100644 --- a/tools/ccanlint/tests/has_info_documentation.c +++ b/tools/ccanlint/tests/has_info_documentation.c @@ -22,7 +22,9 @@ struct info_docs bool example; }; -static void *check_has_info_documentation(struct manifest *m) +static void *check_has_info_documentation(struct manifest *m, + bool keep, + unsigned int *timeleft) { struct list_head *infodocs = get_ccan_file_docs(m->info_file); struct doc_section *d; @@ -124,7 +126,7 @@ static unsigned int has_info_documentation_score(struct manifest *m, struct ccanlint has_info_documentation = { .key = "info-documentation", - .name = "Documentation in _info file", + .name = "Module has documentation in _info", .total_score = 3, .score = has_info_documentation_score, .check = check_has_info_documentation,