musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/string/mempcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/mempcpy.c')
-rw-r--r--src/string/mempcpy.c 2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string/mempcpy.c b/src/string/mempcpy.c
index e54251cd..1b323f1e 100644
--- a/src/string/mempcpy.c
+++ b/src/string/mempcpy.c
@@ -1,6 +1,6 @@
#include <string.h>
-void *mempcpy(void *dest, void *src, size_t n)
+void *mempcpy(void *dest, const void *src, size_t n)
{
memcpy(dest, src, n);
return (char *)dest + n;
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月12日 18:04:45 +0000

AltStyle によって変換されたページ (->オリジナル) /