Make the code C90 compliant for VS2010