]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/has_info_documentation.c
ccanlint: timeout, and implement -t option for quicker tests.
[ccan] / tools / ccanlint / tests / has_info_documentation.c
index aed229340dea38fe4555d8132396515167053d9f..3ca844c8881d8b2c1dca7ee4fe5d860a5856d060 100644 (file)
@@ -22,7 +22,8 @@ struct info_docs
        bool example;
 };
 
-static void *check_has_info_documentation(struct manifest *m)
+static void *check_has_info_documentation(struct manifest *m,
+                                         unsigned int *timeleft)
 {
        struct list_head *infodocs = get_ccan_file_docs(m->info_file);
        struct doc_section *d;
@@ -124,7 +125,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,