summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nuttx/lib/lib_strncasecmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/lib/lib_strncasecmp.c b/nuttx/lib/lib_strncasecmp.c
index 3fc26baf6..11d499161 100644
--- a/nuttx/lib/lib_strncasecmp.c
+++ b/nuttx/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--)