Removed unnessecary struct keywords via defining typedef.
Changed enums and structs to typedefs.