summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2018-03-19 19:51:11 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2018-03-19 19:51:11 +0100
commit97b1b04d937ac7da65d6ab109b9f5dc0d369cde3 (patch)
tree55fc455c6bd9b538d2e9c5893c7610a356634f66 /filter
parente8bc64e308586b6502090da2775af84cd760ed0d (diff)
C99 loop declarations not allowed in 1.6.x
Diffstat (limited to 'filter')
-rw-r--r--filter/config.Y3
1 files changed, 2 insertions, 1 deletions
diff --git a/filter/config.Y b/filter/config.Y
index 7c077b65..6328ba09 100644
--- a/filter/config.Y
+++ b/filter/config.Y
@@ -320,7 +320,8 @@ f_generate_lc(struct f_inst *t1, struct f_inst *t2, struct f_inst *t3)
static inline struct f_inst *
f_generate_path_mask(struct f_path_mask *t)
{
- for (struct f_path_mask *tt = t; tt; tt = tt->next) {
+ struct f_path_mask *tt;
+ for (tt = t; tt; tt = tt->next) {
if (tt->kind == PM_ASN_EXPR) {
struct f_inst *mrv = f_new_inst(FI_PATHMASK_CONSTRUCT);
mrv->a1.p = t;