]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/compulsory_tests/has_main_header.c
ccanlint: put generated _info in correct directory.
[ccan] / tools / ccanlint / compulsory_tests / has_main_header.c
index 071c7157ba54b29fa7c822f0d5a31ab5fc8e048f..dafb41a6e8d71bcf1f6bb5a02a209f6b09b8ce9b 100644 (file)
@@ -12,7 +12,7 @@
 #include <ccan/talloc/talloc.h>
 #include <ccan/noerr/noerr.h>
 
-static void *check_has_main_header(struct manifest *m)
+static void *check_has_main_header(struct manifest *m, unsigned int *timeleft)
 {
        struct ccan_file *f;
 
@@ -35,7 +35,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,
 };