projects
/
ccan
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02c515a
)
ccanlint: list file errors in order they are encountered.
author
Rusty Russell
<rusty@rustcorp.com.au>
Wed, 10 Nov 2010 06:25:24 +0000
(16:55 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Wed, 10 Nov 2010 06:25:24 +0000
(16:55 +1030)
tools/ccanlint/file_analysis.c
patch
|
blob
|
history
diff --git
a/tools/ccanlint/file_analysis.c
b/tools/ccanlint/file_analysis.c
index f58dddf241b377c5d99a433abfb5df4e765955a4..6ee74de884c68500b0a29b44e4b8d33f33538379 100644
(file)
--- a/
tools/ccanlint/file_analysis.c
+++ b/
tools/ccanlint/file_analysis.c
@@
-557,5
+557,5
@@
void score_file_error(struct score *score, struct ccan_file *f, unsigned line,
fe->file = f;
fe->line = line;
fe->error = error;
- list_add(&score->per_file_errors, &fe->list);
+ list_add
_tail
(&score->per_file_errors, &fe->list);
}