X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Fidempotent.c;h=05f4c593b5724f1c8ceffbd8282c5d0ad6cb58a5;hb=1d893107b3481639bf1fc6f96972457ac6e828f7;hp=6ed1767606239d7e4f8dde94c7211a52ba44ee65;hpb=f952b88b36e3803370825fb43385f1a42aa24b64;p=ccan diff --git a/tools/ccanlint/tests/idempotent.c b/tools/ccanlint/tests/idempotent.c index 6ed17676..05f4c593 100644 --- a/tools/ccanlint/tests/idempotent.c +++ b/tools/ccanlint/tests/idempotent.c @@ -112,7 +112,7 @@ 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, unsigned int *timeleft) { struct ccan_file *f; char *report = NULL; @@ -133,7 +133,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,