summaryrefslogtreecommitdiffstats
path: root/libc/string/memchr.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-17 02:18:16 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-17 02:18:16 +0000
commit9d5364c1b26d21ef2abab568c35e168f85635a23 (patch)
tree06865ff14f57b3595460504f8646a4919865c7c1 /libc/string/memchr.c
parent9e254fd26d01f4ae06517e331c9951bd79e0512e (diff)
downloaduClibc-alpine-9d5364c1b26d21ef2abab568c35e168f85635a23.tar.bz2
uClibc-alpine-9d5364c1b26d21ef2abab568c35e168f85635a23.tar.xz
Copy from trunk.
Diffstat (limited to 'libc/string/memchr.c')
-rw-r--r--libc/string/memchr.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/libc/string/memchr.c b/libc/string/memchr.c
new file mode 100644
index 000000000..d0aa004d7
--- /dev/null
+++ b/libc/string/memchr.c
@@ -0,0 +1,14 @@
+/*
+ * 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_memchr
+#define Wmemchr __memchr
+
+#include "wstring.c"
+
+strong_alias(__memchr, memchr)
+
+#undef L_memchr