aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/string/mempcpy.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/mempcpy.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/mempcpy.c')
-rw-r--r--newlib/libc/string/mempcpy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/string/mempcpy.c b/newlib/libc/string/mempcpy.c
index 74c453b..79cbf23 100644
--- a/newlib/libc/string/mempcpy.c
+++ b/newlib/libc/string/mempcpy.c
@@ -45,7 +45,7 @@ PORTABILITY
_PTR
_DEFUN (mempcpy, (dst0, src0, len0),
_PTR dst0,
- _CONST _PTR src0,
+ const _PTR src0,
size_t len0)
{
#if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__)
@@ -60,9 +60,9 @@ _DEFUN (mempcpy, (dst0, src0, len0),
return dst;
#else
char *dst = dst0;
- _CONST char *src = src0;
+ const char *src = src0;
long *aligned_dst;
- _CONST long *aligned_src;
+ const long *aligned_src;
/* If the size is small, or either SRC or DST is unaligned,
then punt into the byte copy loop. This should be rare. */