qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH] CODING_STYLE: Reserve qemu_ prefix for library


From: Anthony Liguori
Subject: [Qemu-devel] Re: [PATCH] CODING_STYLE: Reserve qemu_ prefix for library wrappers
Date: Thu, 11 Mar 2010 08:55:01 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Lightning/1.0pre Thunderbird/3.0

On 03/11/2010 08:48 AM, Avi Kivity wrote:
Signed-off-by: Avi Kivity<address@hidden>
---
  CODING_STYLE |    3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/CODING_STYLE b/CODING_STYLE
index a579cb1..92036f3 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.
+

Acked-by: Anthony Liguori <address@hidden>

But I'd like to also see others agree with this.

Regards,

Anthony Liguori

  4. Block structure

  Every indented statement is braced; even if the block contains just one





reply via email to

[Prev in Thread] Current Thread [Next in Thread]