libctf: eschew C99 for loop initial declarations
authorNick Alcock <nick.alcock@oracle.com>
Thu, 25 Jul 2019 18:59:32 +0000 (19:59 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Thu, 3 Oct 2019 16:04:55 +0000 (17:04 +0100)
commit5ae6af75b50bb4137d286a14e2fd1e74cfa089f4
treea5c15eef747e10458d56fd78816f29bbf9d5049c
parent1820745a0af0768d9dcd515b98ad038ff9f15f23
libctf: eschew C99 for loop initial declarations

We shouldn't use these, since binutils doesn't require a C99-capable
compiler yet.

New in v3.
v5: fix tabdamage.

libctf/
* ctf-open.c (flip_lbls): Eschew for-loop initial declarations.
(flip_objts): Likewise.
(flip_vars): Likewise.
(flip_types): Likewise.
libctf/ChangeLog
libctf/ctf-open.c