projects
/
ccan
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ccanlint: Add -k option to keep results.
[ccan]
/
tools
/
ccanlint
/
tests
/
trailing_whitespace.c
diff --git
a/tools/ccanlint/tests/trailing_whitespace.c
b/tools/ccanlint/tests/trailing_whitespace.c
index 6b831a727550c400476727e17515403f91ecada3..80bf42c49705cc9d0deacd1cfd68db7d9ff8dc05 100644
(file)
--- a/
tools/ccanlint/tests/trailing_whitespace.c
+++ b/
tools/ccanlint/tests/trailing_whitespace.c
@@
-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;