Skip to content
Snippets Groups Projects
Select Git revision
4 results

string.h

Blame
  • Forked from Reform / reform-boundary-uboot
    Source project has a limited visibility.
    • Simon Glass's avatar
      b1f17bf5
      Add strcasecmp() and strncasecmp() · b1f17bf5
      Simon Glass authored
      
      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>
      b1f17bf5
      History
      Add strcasecmp() and strncasecmp()
      Simon Glass authored
      
      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>
    lmb.c NaN GiB