commit | 7f39242bf44c85bb651506214666b3ebdd78b928 | [log] [tgz] |
---|---|---|
author | Paul Jakma <paul.jakma@hpe.com> | Wed Aug 24 15:53:36 2016 +0100 |
committer | Paul Jakma <paul.jakma@hpe.com> | Tue Sep 13 10:36:43 2016 +0100 |
tree | 45f21653fcc61151cca7548ba5c2096961bea461 | |
parent | 23cd586eac3cde789e02c13a1236a4fe33dfc5d9 [diff] |
*: Remove C99ism, CI system runs builds with CFLAGS and compilers that barf
diff --git a/pimd/pim_igmp.c b/pimd/pim_igmp.c index 7baf2e3..0d6f07a 100644 --- a/pimd/pim_igmp.c +++ b/pimd/pim_igmp.c
@@ -111,7 +111,9 @@ static void igmp_sock_dump(array_t *igmp_sock_array) { int size = array_size(igmp_sock_array); - for (int i = 0; i < size; ++i) { + int i; + + for (i = 0; i < size; ++i) { struct igmp_sock *igmp = array_get(igmp_sock_array, i);