aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/machine/microblaze/strlen.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/machine/microblaze/strlen.c')
-rw-r--r--newlib/libc/machine/microblaze/strlen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/machine/microblaze/strlen.c b/newlib/libc/machine/microblaze/strlen.c
index ddd9e6a..059f446 100644
--- a/newlib/libc/machine/microblaze/strlen.c
+++ b/newlib/libc/machine/microblaze/strlen.c
@@ -79,20 +79,20 @@ QUICKREF
size_t
_DEFUN (strlen, (str),
- _CONST char *str)
+ const char *str)
{
#ifndef HAVE_HW_PCMP
#if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__)
- _CONST char *start = str;
+ const char *start = str;
while (*str)
str++;
return str - start;
#else
- _CONST char *start = str;
+ const char *start = str;
unsigned long *aligned_addr;
if (!UNALIGNED (str))