summaryrefslogtreecommitdiffstats
path: root/libc/string/i386/strcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/i386/strcpy.c')
-rw-r--r--libc/string/i386/strcpy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/string/i386/strcpy.c b/libc/string/i386/strcpy.c
index 59effd45e..361dcdbb9 100644
--- a/libc/string/i386/strcpy.c
+++ b/libc/string/i386/strcpy.c
@@ -32,7 +32,7 @@
#include <string.h>
-char attribute_hidden *__strcpy(char * dest, const char * src)
+char *strcpy(char * dest, const char * src)
{
int d0, d1, d2;
__asm__ __volatile__(
@@ -44,5 +44,5 @@ char attribute_hidden *__strcpy(char * dest, const char * src)
:"0" (src),"1" (dest) : "memory");
return dest;
}
-
-strong_alias(__strcpy,strcpy)
+libc_hidden_proto(strcpy)
+libc_hidden_def(strcpy)