summaryrefslogtreecommitdiff
path: root/libc/string/mempcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/mempcpy.c')
-rw-r--r--libc/string/mempcpy.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/string/mempcpy.c b/libc/string/mempcpy.c
index aed37d03a..70626f24a 100644
--- a/libc/string/mempcpy.c
+++ b/libc/string/mempcpy.c
@@ -8,14 +8,14 @@
#include "_string.h"
#ifdef WANT_WIDE
-# define __Wmempcpy __wmempcpy
# define Wmempcpy wmempcpy
#else
-# define __Wmempcpy __mempcpy
# define Wmempcpy mempcpy
#endif
-Wvoid attribute_hidden *__Wmempcpy(Wvoid * __restrict s1, const Wvoid * __restrict s2, size_t n)
+libc_hidden_proto(Wmempcpy)
+
+Wvoid *Wmempcpy(Wvoid * __restrict s1, const Wvoid * __restrict s2, size_t n)
{
register Wchar *r1 = s1;
register const Wchar *r2 = s2;
@@ -34,4 +34,4 @@ Wvoid attribute_hidden *__Wmempcpy(Wvoid * __restrict s1, const Wvoid * __restri
return r1;
}
-strong_alias(__Wmempcpy,Wmempcpy)
+libc_hidden_def(Wmempcpy)