aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/string/strncasecmp.c
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2017-12-03 20:25:16 -0600
committerYaakov Selkowitz <yselkowi@redhat.com>2018-01-17 11:47:08 -0600
commit0bda30e1ffd23488aa4a9b73f228089463fbee1a (patch)
treeb0efb851be762c4d530cc259070005318702321d /newlib/libc/string/strncasecmp.c
parent6783860a2e4e4183c073f62e4bb938cea0e096c3 (diff)
downloadnewlib-0bda30e1ffd23488aa4a9b73f228089463fbee1a.zip
newlib-0bda30e1ffd23488aa4a9b73f228089463fbee1a.tar.gz
newlib-0bda30e1ffd23488aa4a9b73f228089463fbee1a.tar.bz2
ansification: remove _CONST
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libc/string/strncasecmp.c')
-rw-r--r--newlib/libc/string/strncasecmp.c8
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;
}