ccanlint: Add -k option to keep results.
[ccan] / tools / ccanlint / tests / idempotent.c
index 05f4c593b5724f1c8ceffbd8282c5d0ad6cb58a5..95040cf62b09b2f012d77d8b3683f6a9712d79e9 100644 (file)
@@ -112,7 +112,9 @@ static char *report_idem(struct ccan_file *f, char *sofar)
        return sofar;
 }
 
-static void *check_idempotent(struct manifest *m, unsigned int *timeleft)
+static void *check_idempotent(struct manifest *m,
+                             bool keep,
+                             unsigned int *timeleft)
 {
        struct ccan_file *f;
        char *report = NULL;