summaryrefslogtreecommitdiffstats
path: root/libc/string/memcmp.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-17 02:24:42 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-17 02:24:42 +0000
commitee7d4a5d1b0a35a730459113a35197fc5272e7d4 (patch)
tree8ce45a14fbbf615ebb5226ab73fa9da2e4438719 /libc/string/memcmp.c
parent3c2d2f74656f12172862c5a5dbdcd068ccbc81a8 (diff)
downloaduClibc-alpine-ee7d4a5d1b0a35a730459113a35197fc5272e7d4.tar.bz2
uClibc-alpine-ee7d4a5d1b0a35a730459113a35197fc5272e7d4.tar.xz
Copy from trunk.
Diffstat (limited to 'libc/string/memcmp.c')
-rw-r--r--libc/string/memcmp.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/libc/string/memcmp.c b/libc/string/memcmp.c
new file mode 100644
index 000000000..5963dd174
--- /dev/null
+++ b/libc/string/memcmp.c
@@ -0,0 +1,16 @@
+/*
+ * 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_memcmp
+#define Wmemcmp __memcmp
+
+#include "wstring.c"
+
+strong_alias(__memcmp, memcmp)
+
+weak_alias(memcmp, bcmp)
+
+#undef L_memcmp