summaryrefslogtreecommitdiff
path: root/CODING_STYLE
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-09-10 18:47:31 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-09-10 18:47:31 +0000
commitbeb2fbe109d4a91c36e44f143d6d154e3b64e0b4 (patch)
tree6e2a4ca3e3c66aba37ee2bb5fa447e9bc8175fc7 /CODING_STYLE
parenta1f1680e648ff9f303f580520a7dff19a452333f (diff)
downloadqemu-beb2fbe109d4a91c36e44f143d6d154e3b64e0b4.tar.gz
qemu-beb2fbe109d4a91c36e44f143d6d154e3b64e0b4.tar.bz2
qemu-beb2fbe109d4a91c36e44f143d6d154e3b64e0b4.zip
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_STYLE3
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.