Removed fix_checksum prototype
Minor coding style changes