diff options
Diffstat (limited to 'lib/libc/string/mempcpy.c')
-rw-r--r-- | lib/libc/string/mempcpy.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/libc/string/mempcpy.c b/lib/libc/string/mempcpy.c index 12c0d791e9d3..4ea0af87aef1 100644 --- a/lib/libc/string/mempcpy.c +++ b/lib/libc/string/mempcpy.c @@ -1,8 +1,7 @@ /*- - * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * SPDX-License-Identifier: BSD-2-Clause * * Copyright (c) 2021 The FreeBSD Foundation - * All rights reserved. * * This software was developed by Konstantin Belousov <kib@FreeBSD.org> * under sponsorship from the FreeBSD Foundation. @@ -29,13 +28,12 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> -__FBSDID("$FreeBSD$"); - #include <string.h> +#include <ssp/ssp.h> void * -mempcpy(void *__restrict dst, const void *__restrict src, size_t len) +(mempcpy)(void *__restrict dst, const void *__restrict src, + size_t len) { return ((char *)memcpy(dst, src, len) + len); } |