test: avoid C99-style declaration in for loop
This fixes compilation without the -std=c99 option with an older gcc.
This commit is contained in:
parent
008dc16727
commit
ad79aec946
1 changed files with 2 additions and 1 deletions
|
@ -77,9 +77,10 @@ test_unit(void)
|
|||
"leapsectz right/UTC",
|
||||
"leapseclist leapdb.list"
|
||||
};
|
||||
int i;
|
||||
|
||||
CNF_Initialise(0, 0);
|
||||
for (int i = 0; i < sizeof conf / sizeof conf[0]; i++)
|
||||
for (i = 0; i < sizeof conf / sizeof conf[0]; i++)
|
||||
CNF_ParseLine(NULL, i + 1, conf[i]);
|
||||
LDB_Initialise();
|
||||
|
||||
|
|
Loading…
Reference in a new issue