summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch/sparc
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2015-05-15 22:29:37 +0000
committermillert <millert@openbsd.org>2015-05-15 22:29:37 +0000
commitcb39b41371628601fbe4c618205356d538b9d08a (patch)
tree4bfaa7404c3e1cc94071c2f40996135642757ced /lib/libc/arch/sparc
parentadd missing placeholder so that the "UNSIGNED PACKAGES: " line actually (diff)
downloadwireguard-openbsd-cb39b41371628601fbe4c618205356d538b9d08a.tar.xz
wireguard-openbsd-cb39b41371628601fbe4c618205356d538b9d08a.zip
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/sparc')
-rw-r--r--lib/libc/arch/sparc/string/Makefile.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/arch/sparc/string/Makefile.inc b/lib/libc/arch/sparc/string/Makefile.inc
index 7210c950c49..93aac247a4b 100644
--- a/lib/libc/arch/sparc/string/Makefile.inc
+++ b/lib/libc/arch/sparc/string/Makefile.inc
@@ -1,9 +1,9 @@
-# $OpenBSD: Makefile.inc,v 1.6 2014/11/30 19:43:56 deraadt Exp $
+# $OpenBSD: Makefile.inc,v 1.7 2015/05/15 22:29:37 millert Exp $
SRCS+= bcopy.c memcpy.c memmove.c \
ffs.S strlen.S bzero.S \
- bcmp.c index.c memchr.c memcmp.c \
- memset.c rindex.c strcat.c strchr.c \
+ bcmp.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