summaryrefslogtreecommitdiff
path: root/libc/string/i386/strcmp.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-14 22:53:42 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-14 22:53:42 +0000
commit032a3e76d290c776e26ae6c0a68e8b19885a68aa (patch)
tree79917e0166b4dfe0f9ba7e1c9dc0f67643ace63a /libc/string/i386/strcmp.c
parent1a9ad98b8a05ec074dc0f48427d7853d1938540d (diff)
Corrections to splitted files
Diffstat (limited to 'libc/string/i386/strcmp.c')
-rw-r--r--libc/string/i386/strcmp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/string/i386/strcmp.c b/libc/string/i386/strcmp.c
index 4744fdf4e..4db824dbd 100644
--- a/libc/string/i386/strcmp.c
+++ b/libc/string/i386/strcmp.c
@@ -30,10 +30,10 @@
* -Erik
*/
-#define _GNU_SOURCE
#include <string.h>
#include <locale.h> /* for __LOCALE_C_ONLY */
+#undef strcmp
int attribute_hidden __strcmp(const char *cs, const char *ct)
{
int d0, d1;
@@ -57,5 +57,6 @@ int attribute_hidden __strcmp(const char *cs, const char *ct)
strong_alias(__strcmp, strcmp)
#ifdef __LOCALE_C_ONLY
-weak_alias(strcmp, strcoll)
+weak_alias(__strcmp, __strcoll)
+strong_alias(__strcoll, strcoll)
#endif /* __LOCALE_C_ONLY */