summaryrefslogtreecommitdiffstats
path: root/libc/string/strcmp.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-17 02:20:02 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-17 02:20:02 +0000
commitc8f60faac3d1807102526af6f2eae8206010e8cd (patch)
treede9a01c3cda6bf1520873129c6eb122de716776f /libc/string/strcmp.c
parent87bc6e16a91a8e6bdb81450fe0d710ede81f6845 (diff)
downloaduClibc-alpine-c8f60faac3d1807102526af6f2eae8206010e8cd.tar.bz2
uClibc-alpine-c8f60faac3d1807102526af6f2eae8206010e8cd.tar.xz
Copy from trunk.
Diffstat (limited to 'libc/string/strcmp.c')
-rw-r--r--libc/string/strcmp.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/libc/string/strcmp.c b/libc/string/strcmp.c
new file mode 100644
index 000000000..654ca302a
--- /dev/null
+++ b/libc/string/strcmp.c
@@ -0,0 +1,19 @@
+/*
+ * 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 Wstrcmp __strcmp
+
+#include "wstring.c"
+
+strong_alias(__strcmp, strcmp)
+
+#ifdef __LOCALE_C_ONLY
+weak_alias(__strcmp, __strcoll)
+strong_alias(__strcoll, strcoll)
+#endif
+
+#undef L_strcmp