Make index/rindex weak aliases of strchr/strrchr since they are not
authormillert <millert@openbsd.org>
Fri, 15 May 2015 22:29:37 +0000 (22:29 +0000)
committermillert <millert@openbsd.org>
Fri, 15 May 2015 22:29:37 +0000 (22:29 +0000)
commitcb39b41371628601fbe4c618205356d538b9d08a
tree4bfaa7404c3e1cc94071c2f40996135642757ced
parent79bbc1eed71c7cccb8080682f3195ce611ee3d46
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@
21 files changed:
lib/libc/arch/alpha/string/Makefile.inc
lib/libc/arch/amd64/string/strchr.S
lib/libc/arch/amd64/string/strrchr.S
lib/libc/arch/arm/string/Makefile.inc
lib/libc/arch/hppa/string/Makefile.inc
lib/libc/arch/hppa64/string/Makefile.inc
lib/libc/arch/i386/string/strchr.S
lib/libc/arch/i386/string/strrchr.S
lib/libc/arch/m88k/string/Makefile.inc
lib/libc/arch/mips64/string/strchr.S
lib/libc/arch/mips64/string/strrchr.S
lib/libc/arch/powerpc/string/Makefile.inc
lib/libc/arch/sh/string/Makefile.inc
lib/libc/arch/sparc/string/Makefile.inc
lib/libc/arch/sparc64/string/Makefile.inc
lib/libc/arch/vax/string/Makefile.inc
lib/libc/arch/vax/string/strchr.S
lib/libc/string/index.c [deleted file]
lib/libc/string/rindex.c [deleted file]
lib/libc/string/strchr.c
lib/libc/string/strrchr.c