diff options
| author | mrg <mrg@NetBSD.org> | 2020-09-05 13:37:59 +0000 |
|---|---|---|
| committer | mrg <mrg@NetBSD.org> | 2020-09-05 13:37:59 +0000 |
| commit | 1e07a07bb9594da357d87d2598dbc546c6d7107e (patch) | |
| tree | 41d58430b275ef745d4ade1f6facefa9f1c88131 /include | |
| parent | ae426f6f68b9c9743ebc9facbda46c2c075d1d54 (diff) | |
make the 2nd argument to __memmove_chk() const
Diffstat (limited to 'include')
| -rw-r--r-- | include/ssp/string.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ssp/string.h b/include/ssp/string.h index 68dfdf66199..6af24179540 100644 --- a/include/ssp/string.h +++ b/include/ssp/string.h @@ -1,4 +1,4 @@ -/* $NetBSD: string.h,v 1.13 2014/11/29 13:23:48 pooka Exp $ */ +/* $NetBSD: string.h,v 1.14 2020/09/05 13:37:59 mrg Exp $ */ /*- * Copyright (c) 2006 The NetBSD Foundation, Inc. @@ -36,7 +36,7 @@ __BEGIN_DECLS void *__memcpy_chk(void *, const void *, size_t, size_t); -void *__memmove_chk(void *, void *, size_t, size_t); +void *__memmove_chk(void *, const void *, size_t, size_t); void *__memset_chk(void *, int, size_t, size_t); char *__stpcpy_chk(char *, const char *, size_t); char *__strcat_chk(char *, const char *, size_t); |
