Complying to coding standards

Haven't changed anything other than complying to coding standards.

Signed-off-by: Joshua Paling <joshua.paling@gmail.com>