lib: Updated source code format to comply with AStyle.