X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Fidempotent.c;h=95040cf62b09b2f012d77d8b3683f6a9712d79e9;hp=6ed1767606239d7e4f8dde94c7211a52ba44ee65;hb=fb4c4c3ddc24772f71a64ec02d2c9ddaeb6e9f6b;hpb=f952b88b36e3803370825fb43385f1a42aa24b64;ds=sidebyside diff --git a/tools/ccanlint/tests/idempotent.c b/tools/ccanlint/tests/idempotent.c index 6ed17676..95040cf6 100644 --- a/tools/ccanlint/tests/idempotent.c +++ b/tools/ccanlint/tests/idempotent.c @@ -112,7 +112,9 @@ static char *report_idem(struct ccan_file *f, char *sofar) return sofar; } -static void *check_idempotent(struct manifest *m) +static void *check_idempotent(struct manifest *m, + bool keep, + unsigned int *timeleft) { struct ccan_file *f; char *report = NULL; @@ -133,7 +135,7 @@ static const char *describe_idempotent(struct manifest *m, void *check_result) struct ccanlint idempotent = { .key = "idempotent", - .name = "Headers are #ifndef/#define idempotent wrapped", + .name = "Module headers are #ifndef/#define wrapped", .total_score = 1, .check = check_idempotent, .describe = describe_idempotent,