mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
CODING_STYLE: Custom type names must be snake-cased by word
There's the unwritten convention of splitting type names using underscores. Add such convention to the CODINNG_STYLE to make it common and less unwritten. Signed-off-by: Alejandro Vallejo <agarciav@amd.com> Acked-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
1 parent
cc73941646
commit
eea7d98d1c
1 file changed
+6
@@ -113,6 +113,12 @@ Braces should be omitted for blocks with a single statement. e.g.,
|
||||
if ( condition )
|
||||
single_statement();
|
||||
|
||||
Identifiers
|
||||
-----------
|
||||
|
||||
When giving names to identifiers (variables, functions, constants...), separate
|
||||
words using underscores (for example, use "my_foo" instead of "myfoo").
|
||||
|
||||
Types
|
||||
-----
|
||||
|
||||
|
||||