Fix "No new line at end of file" warning.
Fix "Missing Function Prototypes" warning.
Fix "unreachable code" warning.