OSDN Git Service

Removes index() from bionic.
authorDan Albert <danalbert@google.com>
Wed, 4 Jun 2014 15:53:33 +0000 (08:53 -0700)
committerDan Albert <danalbert@google.com>
Thu, 5 Jun 2014 18:05:10 +0000 (11:05 -0700)
commit40fca0f08b1eb87e283d6f634d9759ed3161f517
tree22a02418b0c225b4e994d8625970c3affe900eda
parent431aa4dc9282e23231ba9243f43fd3d49b5f88b3
Removes index() from bionic.

This function has been removed from POSIX.

Unfortunately, we can't leave #define index(a, b) strchr((a), (b)) in its place
because defining a preprocessor macro for index() breaks a whole lot of code.

Bug: 13935372
Change-Id: Ifda348acde06da61c12e7ee2f8fe6950a3174dd1
libc/arch-arm64/arm64.mk
libc/arch-mips64/mips64.mk
libc/arch-x86_64/x86_64.mk
libc/include/string.h
libc/include/strings.h