Skip to content
Snippets Groups Projects
Commit b1f17bf5 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent ec7381fb
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment