aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/string/memccpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/string/memccpy.c')
-rw-r--r--newlib/libc/string/memccpy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/string/memccpy.c b/newlib/libc/string/memccpy.c
index 6e49a1c..b03b504 100644
--- a/newlib/libc/string/memccpy.c
+++ b/newlib/libc/string/memccpy.c
@@ -58,7 +58,7 @@ PORTABILITY
_PTR
_DEFUN (memccpy, (dst0, src0, endchar, len0),
_PTR __restrict dst0,
- _CONST _PTR __restrict src0,
+ const _PTR __restrict src0,
int endchar0,
size_t len0)
{
@@ -82,9 +82,9 @@ _DEFUN (memccpy, (dst0, src0, endchar, len0),
#else
_PTR ptr = NULL;
char *dst = dst0;
- _CONST char *src = src0;
+ const char *src = src0;
long *aligned_dst;
- _CONST long *aligned_src;
+ const long *aligned_src;
char endchar = endchar0 & 0xff;
/* If the size is small, or either SRC or DST is unaligned,