From: Avi Kivity Date: Thu, 11 Mar 2010 14:48:43 +0000 (+0200) Subject: CODING_STYLE: Reserve qemu_ prefix for library wrappers X-Git-Tag: v0.13.0-rc0~1042 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=77ac48626362abf47a9a6f915fdeea732391f2ba;p=qemu.git CODING_STYLE: Reserve qemu_ prefix for library wrappers Signed-off-by: Avi Kivity Signed-off-by: Anthony Liguori --- diff --git a/CODING_STYLE b/CODING_STYLE index a579cb1b5..92036f34b 100644 --- a/CODING_STYLE +++ b/CODING_STYLE @@ -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