MISRA C 2012 Compliance work

Addressed brace compliance requirements and added required returns for
all void functions