diff options
Diffstat (limited to 'newlib/libc/string/strncasecmp.c')
-rw-r--r-- | newlib/libc/string/strncasecmp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/newlib/libc/string/strncasecmp.c b/newlib/libc/string/strncasecmp.c index a30fccf..2a6f626 100644 --- a/newlib/libc/string/strncasecmp.c +++ b/newlib/libc/string/strncasecmp.c @@ -38,15 +38,15 @@ QUICKREF int _DEFUN (strncasecmp, (s1, s2, n), - _CONST char *s1, - _CONST char *s2, + const char *s1, + const char *s2, size_t n) { int d = 0; for ( ; n != 0; n--) { - _CONST int c1 = tolower(*s1++); - _CONST int c2 = tolower(*s2++); + const int c1 = tolower(*s1++); + const int c2 = tolower(*s2++); if (((d = c1 - c2) != 0) || (c2 == '\0')) break; } |