summaryrefslogtreecommitdiffstats
path: root/libc/string/wcscmp.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-17 02:25:33 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-17 02:25:33 +0000
commit244ab111b5abec12bb584e90a95139daa06fbae3 (patch)
tree6fb2912b473f77cee7c33c239b80c1c127bac7cd /libc/string/wcscmp.c
parenta17cc6de11598acf287e633cd7915b18a2686902 (diff)
downloaduClibc-alpine-244ab111b5abec12bb584e90a95139daa06fbae3.tar.bz2
uClibc-alpine-244ab111b5abec12bb584e90a95139daa06fbae3.tar.xz
Copy from trunk.
Diffstat (limited to 'libc/string/wcscmp.c')
-rw-r--r--libc/string/wcscmp.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/libc/string/wcscmp.c b/libc/string/wcscmp.c
new file mode 100644
index 000000000..5501a4dac
--- /dev/null
+++ b/libc/string/wcscmp.c
@@ -0,0 +1,20 @@
+/*
+ * Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_strcmp
+#define WANT_WIDE
+#define Wstrcmp __wcscmp
+
+#include "wstring.c"
+
+strong_alias(__wcscmp, wcscmp)
+
+#ifdef __LOCALE_C_ONLY
+weak_alias(__wcscmp, __wcscoll)
+strong_alias(__wcscoll, wcscoll)
+#endif
+
+#undef L_strcmp