fixed error: ‘for’ loop initial declaration used outside C99 mode