]> git.proxmox.com Git - mirror_qemu.git/commitdiff
CODING_STYLE: Reserve qemu_ prefix for library wrappers
authorAvi Kivity <avi@redhat.com>
Thu, 11 Mar 2010 14:48:43 +0000 (16:48 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 19 Mar 2010 20:27:27 +0000 (15:27 -0500)
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
CODING_STYLE

index a579cb1b5ff16bc44ba7c1afac2d285e9ffeb66c..92036f34bc71737ad01af0a2a94a2f691066403e 100644 (file)
@@ -49,6 +49,9 @@ 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.
+
 4. Block structure
 
 Every indented statement is braced; even if the block contains just one