summaryrefslogtreecommitdiff
path: root/libc/string/i386/strcmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/i386/strcmp.c')
-rw-r--r--libc/string/i386/strcmp.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/libc/string/i386/strcmp.c b/libc/string/i386/strcmp.c
index f335da646..81cc16c7f 100644
--- a/libc/string/i386/strcmp.c
+++ b/libc/string/i386/strcmp.c
@@ -32,7 +32,7 @@
#include <string.h>
-int attribute_hidden __strcmp(const char *cs, const char *ct)
+int strcmp(const char *cs, const char *ct)
{
int d0, d1;
register int __res;
@@ -51,10 +51,11 @@ int attribute_hidden __strcmp(const char *cs, const char *ct)
:"1" (cs),"2" (ct));
return __res;
}
-
-strong_alias(__strcmp,strcmp)
+libc_hidden_proto(strcmp)
+libc_hidden_def(strcmp)
#ifndef __UCLIBC_HAS_LOCALE__
-hidden_strong_alias(__strcmp,__strcoll)
-strong_alias(__strcmp,strcoll)
+strong_alias(strcmp,strcoll)
+libc_hidden_proto(strcoll)
+libc_hidden_def(strcoll)
#endif