From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmT3I-0002hj-5M for qemu-devel@nongnu.org; Tue, 20 Sep 2016 17:58:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmT3E-0001MB-Tz for qemu-devel@nongnu.org; Tue, 20 Sep 2016 17:58:08 -0400 Message-ID: <1474408678.2857.91.camel@kernel.crashing.org> From: Benjamin Herrenschmidt Date: Wed, 21 Sep 2016 07:57:58 +1000 In-Reply-To: <0AB3F21C-C75A-4232-93FB-5FC2ED47B3D1@gmail.com> References: <0AB3F21C-C75A-4232-93FB-5FC2ED47B3D1@gmail.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v2] add resolutions via command-line List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: G 3 , Eric Blake Cc: "list@suse.de:PowerPC list:PowerPC" , qemu-devel qemu-devel On Tue, 2016-09-20 at 09:51 -0400, G 3 wrote: >=C2=A0 > > Is it worth renaming this to make it obvious that it is your > > (non-optimal) replacement, intentionally because you don't want to > > use > > the libc version? >=20 > I originally thought about adding a prefix to all my functions. Ben=C2=A0= =C2=A0 > what do you think? > I'm ok with either way. DriverServicesLibrary has: char *CStrCopy(char *dst, const char *src); char *CStrNCopy (char *dst, const char *src, UInt32 max); char=C2=A0*CStrCat (char *dst, const char *src); char *CStrNCat (char *dst, const char *src, UInt32 max); short CStrCmp (const char *str1, const char *str2); short CStrNCmp (const char *str1, const char *str2, UInt32 max); UInt32 CStrLen (const char *src); Cheers, Ben.