diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-09-10 18:47:31 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-09-10 18:47:31 +0000 |
commit | 84174436a6cd948c3bac22bc02df5d2404ff641d (patch) | |
tree | 6e2a4ca3e3c66aba37ee2bb5fa447e9bc8175fc7 /CODING_STYLE | |
parent | 45fad878d7fd2e7bff78e677c34ca59fe24b7e94 (diff) |
HACKING: add C type rules
Add C type rules, adapted from libvirt HACKING. Also include
a description of special QEMU scalar types.
Move typedef rule from CODING_STYLE rule 3 to HACKING rule 6
where it belongs.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'CODING_STYLE')
-rw-r--r-- | CODING_STYLE | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/CODING_STYLE b/CODING_STYLE index 92036f34bc..2c8268ddc2 100644 --- a/CODING_STYLE +++ b/CODING_STYLE @@ -46,9 +46,6 @@ names are lower_case_with_underscores_ending_with_a_t, like the POSIX uint64_t and family. Note that this last convention contradicts POSIX and is therefore likely to be changed. -Typedefs are used to eliminate the redundant 'struct' keyword. It is the -QEMU coding style. - When wrapping standard library functions, use the prefix qemu_ to alert readers that they are seeing a wrapped version; otherwise avoid this prefix. |