diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2017-12-03 20:25:16 -0600 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2018-01-17 11:47:08 -0600 |
commit | 0bda30e1ffd23488aa4a9b73f228089463fbee1a (patch) | |
tree | b0efb851be762c4d530cc259070005318702321d /newlib/libc/string/memmove.c | |
parent | 6783860a2e4e4183c073f62e4bb938cea0e096c3 (diff) | |
download | newlib-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/memmove.c')
-rw-r--r-- | newlib/libc/string/memmove.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/newlib/libc/string/memmove.c b/newlib/libc/string/memmove.c index 10a3dfd..e50ab58 100644 --- a/newlib/libc/string/memmove.c +++ b/newlib/libc/string/memmove.c @@ -52,12 +52,12 @@ _PTR __inhibit_loop_to_libcall _DEFUN (memmove, (dst_void, src_void, length), _PTR dst_void, - _CONST _PTR src_void, + const _PTR src_void, size_t length) { #if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__) char *dst = dst_void; - _CONST char *src = src_void; + const char *src = src_void; if (src < dst && dst < src + length) { @@ -80,9 +80,9 @@ _DEFUN (memmove, (dst_void, src_void, length), return dst_void; #else char *dst = dst_void; - _CONST char *src = src_void; + const char *src = src_void; long *aligned_dst; - _CONST long *aligned_src; + const long *aligned_src; if (src < dst && dst < src + length) { |