From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Tue, 27 Nov 2012 16:12:11 -0600 Subject: [U-Boot] [PATCH v2 09/23] Add stricmp() and strnicmp() In-Reply-To: <1353611587-18186-10-git-send-email-sjg@chromium.org> (from sjg@chromium.org on Thu Nov 22 13:12:53 2012) References: <1353611587-18186-1-git-send-email-sjg@chromium.org> <1353611587-18186-10-git-send-email-sjg@chromium.org> Message-ID: <1354054331.2317.13@tyr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 11/22/2012 01:12:53 PM, Simon Glass wrote: > strnicmp() is present but disabled. Make it available and define > stricmp() > also. There is a only a small performance penalty to having stricmp() > call strnicmp(), so do this instead of a standalone function, to save > code > space. Both POSIX and the Linux kernel call this strcasecmp() rather than stricmp()... -Scott