C89 compat (declare variables at start of block)