summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-26 20:57:07 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-26 20:57:07 +0000
commit43cfeab2dcf300fbe024aa341d146179b4cdc75a (patch)
tree9fbcf8c8986d2536253b14de62dc2515f0ecad5e /libc
parentf738a1c0acc938800b554355b3674584ca51c403 (diff)
Unhide __mempcpy, provide __libc_mempcpy for internal use
Diffstat (limited to 'libc')
-rw-r--r--libc/string/generic/mempcpy.c5
-rw-r--r--libc/string/mempcpy.c5
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