summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-09-06 11:00:15 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:03:07 -0700
commitdd9cfb98ae580a52173462d4cbf97ec2f28eeec9 (patch)
treef1cca957073b06770aebe2286ae25a40d0b7659f /scope.c
parentRe-organize list access macros for easier expansion. (diff)
downloadsparse-dd9cfb98ae580a52173462d4cbf97ec2f28eeec9.tar.gz
sparse-dd9cfb98ae580a52173462d4cbf97ec2f28eeec9.tar.bz2
sparse-dd9cfb98ae580a52173462d4cbf97ec2f28eeec9.zip
Make END_FOR_EACH_PTR[_REVERSE] take the ptr name as an argument.
..and switch us entirely over to the new naming scheme. All the nasty work of going through the users thanks to Chris Li.
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scope.c b/scope.c
index 4df93e8..ceeea7e 100644
--- a/scope.c
+++ b/scope.c
@@ -65,7 +65,7 @@ static void end_scope(struct scope **s)
scope->symbols = NULL;
FOR_EACH_PTR(symbols, sym) {
remove_symbol_scope(sym);
- } END_FOR_EACH_PTR;
+ } END_FOR_EACH_PTR(sym);
}
void end_symbol_scope(void)