Use c99 i declarations in for loops.