aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/string/stpncpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/string/stpncpy.c')
-rw-r--r--newlib/libc/string/stpncpy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/string/stpncpy.c b/newlib/libc/string/stpncpy.c
index 9e8a129..69fa851 100644
--- a/newlib/libc/string/stpncpy.c
+++ b/newlib/libc/string/stpncpy.c
@@ -63,14 +63,14 @@ QUICKREF
char *
_DEFUN (stpncpy, (dst, src),
char *__restrict dst,
- _CONST char *__restrict src,
+ const char *__restrict src,
size_t count)
{
char *ret = NULL;
#if !defined(PREFER_SIZE_OVER_SPEED) && !defined(__OPTIMIZE_SIZE__)
long *aligned_dst;
- _CONST long *aligned_src;
+ const long *aligned_src;
/* If SRC and DEST is aligned and count large enough, then copy words. */
if (!UNALIGNED (src, dst) && !TOO_SMALL (count))