summaryrefslogtreecommitdiff
path: root/lib/libc/arch/sh/string
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2015-05-15 22:29:38 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2015-05-15 22:29:38 +0000
commit859ad3fd43b3b8289799fc07b91f705e3d60625b (patch)
tree01cc41843eee0eade93009f1a1ec1031e4dae81c /lib/libc/arch/sh/string
parent1750c6aec5fb331bfdc2147cc368f7b3925351f2 (diff)
Make index/rindex weak aliases of strchr/strrchr since they are not
part of the ISO C standard and have also been dropped from POSIX. OK guenther@ kettenis@
Diffstat (limited to 'lib/libc/arch/sh/string')
-rw-r--r--lib/libc/arch/sh/string/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/arch/sh/string/Makefile.inc b/lib/libc/arch/sh/string/Makefile.inc
index 92fb923cf52..e18591ff667 100644
--- a/lib/libc/arch/sh/string/Makefile.inc
+++ b/lib/libc/arch/sh/string/Makefile.inc
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile.inc,v 1.4 2014/11/30 19:43:56 deraadt Exp $
+# $OpenBSD: Makefile.inc,v 1.5 2015/05/15 22:29:37 millert Exp $
SRCS+= bcopy.S memcpy.c memmove.S \
bzero.S ffs.S memset.S \
- index.c rindex.c strchr.c strrchr.c \
+ strchr.c strrchr.c \
bcmp.c memcmp.c memchr.c strcat.c strcmp.c strcpy.c strcspn.c \
strlen.c strlcat.c strlcpy.c strncat.c strncmp.c strncpy.c \
strpbrk.c strsep.c strspn.c strstr.c swab.c