summaryrefslogtreecommitdiff
path: root/lib/libc/arch/sparc64
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/sparc64
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/sparc64')
-rw-r--r--lib/libc/arch/sparc64/string/Makefile.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/arch/sparc64/string/Makefile.inc b/lib/libc/arch/sparc64/string/Makefile.inc
index ede646f31d8..58341fe3858 100644
--- a/lib/libc/arch/sparc64/string/Makefile.inc
+++ b/lib/libc/arch/sparc64/string/Makefile.inc
@@ -1,10 +1,10 @@
-# $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.c memcpy.c memmove.c \
ffs.S \
strlen.S \
- bcmp.c bzero.c index.c memchr.c memcmp.c \
- memset.c rindex.c strcat.c strchr.c \
+ bcmp.c bzero.c memchr.c memcmp.c \
+ memset.c strcat.c strchr.c \
strcmp.c strcpy.c strcspn.c strlcat.c strlcpy.c \
strncat.c strncmp.c strncpy.c strpbrk.c strrchr.c strsep.c \
strspn.c strstr.c swab.c