summaryrefslogtreecommitdiff
path: root/libc/string/i386/strlen.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/i386/strlen.c')
-rw-r--r--libc/string/i386/strlen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/string/i386/strlen.c b/libc/string/i386/strlen.c
index 01cc46f9e..2ef57e3f8 100644
--- a/libc/string/i386/strlen.c
+++ b/libc/string/i386/strlen.c
@@ -32,7 +32,7 @@
#include <string.h>
-size_t attribute_hidden __strlen(const char *s)
+size_t strlen(const char *s)
{
int d0;
register int __res;
@@ -44,5 +44,5 @@ size_t attribute_hidden __strlen(const char *s)
:"=c" (__res), "=&D" (d0) :"1" (s),"a" (0), "0" (0xffffffff));
return __res;
}
-
-strong_alias(__strlen,strlen)
+libc_hidden_proto(strlen)
+libc_hidden_def(strlen)