Duplicate compiler options removed
Old function prototype style removed
Some compiler options added