]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/trailing_whitespace.c
ccanlint: Add -k option to keep results.
[ccan] / tools / ccanlint / tests / trailing_whitespace.c
index 6b831a727550c400476727e17515403f91ecada3..80bf42c49705cc9d0deacd1cfd68db7d9ff8dc05 100644 (file)
@@ -19,7 +19,9 @@ static char *report_on_trailing_whitespace(const char *line)
        return talloc_asprintf(line, "'%s'", line);
 }
 
-static void *check_trailing_whitespace(struct manifest *m)
+static void *check_trailing_whitespace(struct manifest *m,
+                                      bool keep,
+                                      unsigned int *timeleft)
 {
        char *report;