summaryrefslogtreecommitdiff
path: root/libc/string/strchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/strchr.c')
-rw-r--r--libc/string/strchr.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/libc/string/strchr.c b/libc/string/strchr.c
new file mode 100644
index 000000000..a58e1f56d
--- /dev/null
+++ b/libc/string/strchr.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_strchr
+#define Wstrchr __strchr
+
+#include "wstring.c"
+
+strong_alias(__strchr, strchr)
+
+weak_alias(strchr, index)
+
+#undef L_strchr