From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nq32i-0007Hz-F0 for qemu-devel@nongnu.org; Fri, 12 Mar 2010 06:28:36 -0500 Received: from [199.232.76.173] (port=41048 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nq32g-0007Gu-Rl for qemu-devel@nongnu.org; Fri, 12 Mar 2010 06:28:34 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nq32f-0006Oq-W5 for qemu-devel@nongnu.org; Fri, 12 Mar 2010 06:28:34 -0500 Received: from mx20.gnu.org ([199.232.41.8]:51020) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Nq32f-0006O9-4V for qemu-devel@nongnu.org; Fri, 12 Mar 2010 06:28:33 -0500 Received: from mail.codesourcery.com ([38.113.113.100]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Nq32c-000349-3I for qemu-devel@nongnu.org; Fri, 12 Mar 2010 06:28:30 -0500 From: Paul Brook Subject: Re: [Qemu-devel] [PATCH] CODING_STYLE: Reserve qemu_ prefix for library wrappers Date: Fri, 12 Mar 2010 11:28:16 +0000 References: <4B98FA68.7000901@codemonkey.ws> <1268318923-13397-1-git-send-email-avi@redhat.com> In-Reply-To: <1268318923-13397-1-git-send-email-avi@redhat.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201003121128.18410.paul@codesourcery.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Avi Kivity > +When wrapping standard library functions, use the prefix qemu_ to alert > +readers that they are seeing a wrapped version; otherwise avoid this > prefix. + I'm tempted to say "When wrapping or providing functionality that could easily be confused with standard library functions [...]". I'm not going to argue either way though. Paul