commit | 459af6983da96b6b430bd41306e63e4d107f906d | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Dec 05 14:46:35 2012 +0000 |
committer | Tom Rini <trini@ti.com> | Tue Dec 11 13:17:34 2012 -0700 |
tree | f96ee90f06bef6e031832cded766631486a88e76 | |
parent | 0df82433818bcd392f28aeb81bfbe0b768d59229 [diff] |
Add strcasecmp() and strncasecmp() strncasecmp() is present as strnicmp() but disabled. Make it available and define strcasecmp() also. There is a only a small performance penalty to having strcasecmp() call strncasecmp(), so do this instead of a standalone function, to save code space. Update the prototype in arch-specific headers as needed to avoid warnings. Signed-off-by: Simon Glass <sjg@chromium.org>