Force ANSI compliance with -Wall, -ansi, -pedantic and fix all issues (all declarations are now at the top of their respective blocks, etc.)