Move variable definitions to the start of their respective blocks.

Improves support for older compilers.

From Boaz Stolk <bstolk@aweta.nl>.
6 files changed