C99 mode for-loop