doc: fix typos in coding guidelines

This patch fixes typos in coding guidelines.

Tracked-On: #2711
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
This commit is contained in:
Shiqing Gao 2019-03-11 08:38:17 +08:00 committed by David Kinder
parent b75d5567a7
commit 31f04e1a7b
1 changed files with 4 additions and 4 deletions

View File

@ -2812,8 +2812,8 @@ width.
CS-05: Trailing whitespaces shall not be allowed at the end of lines CS-05: Trailing whitespace shall not be allowed at the end of lines
==================================================================== ===================================================================
This rule applies to both spaces and tabs at the end of a line. This rule applies to both spaces and tabs at the end of a line.
@ -2900,7 +2900,7 @@ The following cases shall be covered:
a) For declaration of variables of a pointer type, the '*' character shall be a) For declaration of variables of a pointer type, the '*' character shall be
right before the variable identifier with no space in between. right before the variable identifier with no space in between.
b) For functions whose return value is of a pointer type, the '*' character b) For functions whose return value is of a pointer type, the '*' character
shall be right before the function identifyer with no spaces in between in the shall be right before the function identifier with no spaces in between in the
function prototype. function prototype.
Compliant example:: Compliant example::
@ -2962,7 +2962,7 @@ Compliant example::
CS-12: A single space shall exist right after semicolons in for-loop headers CS-12: A single space shall exist right after semicolons in for-loop headers
============================================================================ ============================================================================
A single space shall exist right after semicolons that separete the different A single space shall exist right after semicolons that separate the different
expressions in for-loop headers. expressions in for-loop headers.
Compliant example:: Compliant example::