From 5db39d100c328b218e8c89efab4f43609febf34c Mon Sep 17 00:00:00 2001 From: Justin Pettit Date: Thu, 7 Oct 2010 23:30:06 -0700 Subject: [PATCH] classifier: Add missing argument in CLASSIFIER_FOR_EACH_EXACT_RULE_SAFE The CLASSIFIER_FOR_EACH_EXACT_RULE_SAFE macro was missing its "MEMBER" argument. It doesn't currently cause any problems because no one uses the macro. --- lib/classifier.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/classifier.h b/lib/classifier.h index 13eb0510..9b0b38d3 100644 --- a/lib/classifier.h +++ b/lib/classifier.h @@ -171,7 +171,7 @@ struct cls_rule *classifier_find_rule_exactly(const struct classifier *, #define CLASSIFIER_FOR_EACH_EXACT_RULE(RULE, MEMBER, CLS) \ HMAP_FOR_EACH (RULE, MEMBER.node.hmap, &(CLS)->exact_table) -#define CLASSIFIER_FOR_EACH_EXACT_RULE_SAFE(RULE, NEXT, CLS) \ +#define CLASSIFIER_FOR_EACH_EXACT_RULE_SAFE(RULE, NEXT, MEMBER, CLS) \ HMAP_FOR_EACH_SAFE (RULE, NEXT, MEMBER.node.hmap, &(CLS)->exact_table) #endif /* classifier.h */ -- 2.30.2