From a6bba6bc3d5ec88c08984dfa4b81e63c6afb61c4 Mon Sep 17 00:00:00 2001 From: Shiqing Gao Date: Wed, 29 May 2019 08:47:24 +0800 Subject: [PATCH] doc: update prefix format in coding guidelines - update prefix format in coding guidelines Signed-off-by: Shiqing Gao --- doc/developer-guides/c_coding_guidelines.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/developer-guides/c_coding_guidelines.rst b/doc/developer-guides/c_coding_guidelines.rst index 88d001c00..c97e91b94 100644 --- a/doc/developer-guides/c_coding_guidelines.rst +++ b/doc/developer-guides/c_coding_guidelines.rst @@ -3356,8 +3356,8 @@ Compliant example:: #define Max(x, y) ((x) < (y)) ? (y) : (x) -C-NC-03: Data structures exposed to external components shall be named with prefix 'acrn' -========================================================================================= +C-NC-03: Data structures exposed to external components shall be named with prefix 'acrn\_' +=========================================================================================== The data structure types include struct, union, and enum. This rule applies to the data structure with all the following properties: @@ -3382,8 +3382,8 @@ Compliant example:: }; -C-NC-04: Data structures only used by hypervisor shall be named with prefix 'hv' -================================================================================ +C-NC-04: Data structures only used by hypervisor shall be named with prefix 'hv\_' +================================================================================== The data structure types include struct, union, and enum. This rule applies to the data structure with all the following properties: