Re: [ovs-dev] [PATCH 2/5] lib/flow: Use C99 declaration in for statement.

2014-05-23 Thread Ben Pfaff
On Thu, May 22, 2014 at 05:37:39PM -0700, Jarno Rajahalme wrote: > C99 declarations within code are allowed now. Change the > FLOW_FOR_EACH_IN_MAP to use loop variable within the for statement. > This makes this macro more generally useful. > > The loop variable name is suffixed with two undersco

[ovs-dev] [PATCH 2/5] lib/flow: Use C99 declaration in for statement.

2014-05-22 Thread Jarno Rajahalme
C99 declarations within code are allowed now. Change the FLOW_FOR_EACH_IN_MAP to use loop variable within the for statement. This makes this macro more generally useful. The loop variable name is suffixed with two underscores with the intention that there would be a low likelihood of collision wi