From 43cfeab2dcf300fbe024aa341d146179b4cdc75a Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 26 Nov 2005 20:57:07 +0000 Subject: Unhide __mempcpy, provide __libc_mempcpy for internal use --- libc/string/generic/mempcpy.c | 5 +++-- 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 -- cgit v1.2.3