diff options
Diffstat (limited to 'libc/string')
-rw-r--r-- | libc/string/generic/mempcpy.c | 5 | ||||
-rw-r--r-- | libc/string/mempcpy.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/libc/string/generic/mempcpy.c b/libc/string/generic/mempcpy.c index cda156edf..4eb6db099 100644 --- a/libc/string/generic/mempcpy.c +++ b/libc/string/generic/mempcpy.c @@ -9,10 +9,11 @@ #undef mempcpy -void attribute_hidden *__mempcpy (void *dstpp, const void *srcpp, size_t len) +void attribute_hidden *__libc_mempcpy (void *dstpp, const void *srcpp, size_t len) { memcpy(dstpp, srcpp, len); return (void *)(((char *)dstpp) + len); } -strong_alias (__mempcpy, mempcpy) +strong_alias(__libc_mempcpy, __mempcpy) +strong_alias(__mempcpy, mempcpy) diff --git a/libc/string/mempcpy.c b/libc/string/mempcpy.c index 7fb1954cd..18a1c513c 100644 --- a/libc/string/mempcpy.c +++ b/libc/string/mempcpy.c @@ -5,10 +5,11 @@ */ #define L_mempcpy -#define Wmempcpy __mempcpy +#define Wmempcpy __libc_mempcpy #include "wstring.c" -strong_alias(__mempcpy, mempcpy) +strong_alias(__libc_mempcpy, __mempcpy) +strong_alias(__mempcpy,mempcpy) #undef L_mempcpy |