summaryrefslogtreecommitdiffstats
path: root/libc/string/generic/strcmp.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-09-24 16:15:28 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-09-24 16:15:28 +0000
commitdd4c03d796f73e008d93ade62655deb70aaaf34a (patch)
tree381f07ac566718afc00cde9a5470ad8bf16625e4 /libc/string/generic/strcmp.c
parent0f82408c13d9e8be9dd022b0c21411fe86693f67 (diff)
downloaduClibc-alpine-dd4c03d796f73e008d93ade62655deb70aaaf34a.tar.bz2
uClibc-alpine-dd4c03d796f73e008d93ade62655deb70aaaf34a.tar.xz
Big sync with trunk.
Diffstat (limited to 'libc/string/generic/strcmp.c')
-rw-r--r--libc/string/generic/strcmp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/string/generic/strcmp.c b/libc/string/generic/strcmp.c
index 2af550d81..c8212f04b 100644
--- a/libc/string/generic/strcmp.c
+++ b/libc/string/generic/strcmp.c
@@ -23,10 +23,6 @@
#undef strcmp
-#ifdef __LOCALE_C_ONLY
-weak_alias(strcmp,strcoll);
-#endif /* __LOCALE_C_ONLY */
-
/* Compare S1 and S2, returning less than, equal to or
greater than zero if S1 is lexicographically less than,
equal to or greater than S2. */
@@ -50,3 +46,7 @@ strcmp (p1, p2)
return c1 - c2;
}
+
+#ifdef __LOCALE_C_ONLY
+weak_alias(strcmp,strcoll);
+#endif /* __LOCALE_C_ONLY */