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;
struct ccanlint trailing_whitespace = {
.key = "trailing-whitespace",
- .name = "No lines with unnecessary trailing whitespace",
+ .name = "Module's source code has no trailing whitespace",
.total_score = 1,
.check = check_trailing_whitespace,
.describe = describe_trailing_whitespace,