diff --git a/lib/lib_strncasecmp.c b/lib/lib_strncasecmp.c index 3fc26baf6f9..11d4991616f 100644 --- a/lib/lib_strncasecmp.c +++ b/lib/lib_strncasecmp.c @@ -51,8 +51,8 @@ * Global Functions *****************************************************************************/ -#ifndef CONFIG_ARCH_STRNCMP -int strncmp(const char *cs, const char *ct, size_t nb) +#ifndef CONFIG_ARCH_STRNCASECMP +int strncasecmp(const char *cs, const char *ct, size_t nb) { register signed char result = 0; for (; nb > 0; nb--)