examples/l3fwd-power: fix build with gcc 4
authorThomas Monjalon <thomas@monjalon.net>
Sat, 29 Jun 2019 08:45:50 +0000 (10:45 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 29 Jun 2019 12:29:49 +0000 (14:29 +0200)
commit292472ba0be75da85dec045a608e8dd162094141
treec12202a7797fdc142e8c6171c6e6c53e91072e30
parente4dd3bddd1953a70302243a51526917f986d471f
examples/l3fwd-power: fix build with gcc 4

error: ‘for’ loop initial declarations are only allowed in C99 mode

Fixes: 609e79841fcf ("examples/l3fwd-power: add telemetry mode")

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
examples/l3fwd-power/main.c