From: Ondrej Zajicek (work) Date: Mon, 19 Mar 2018 18:51:11 +0000 (+0100) Subject: C99 loop declarations not allowed in 1.6.x X-Git-Tag: v1.6.4~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=97b1b04d937ac7da65d6ab109b9f5dc0d369cde3;p=thirdparty%2Fbird.git C99 loop declarations not allowed in 1.6.x --- diff --git a/filter/config.Y b/filter/config.Y index 7c077b657..6328ba094 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;