As a minor cleanup remove the (r)index defines from include/string.h as
commitc7a37ad352c90d798d138b9f83e0333c78d08410
authorWilco Dijkstra <wdijkstr@arm.com>
Mon, 6 Feb 2017 18:14:16 +0000 (6 18:14 +0000)
committerWilco Dijkstra <wdijkstr@arm.com>
Mon, 6 Feb 2017 18:15:18 +0000 (6 18:15 +0000)
treee6946eed9f90ca89dd2660a8f1360961cffc9eb5
parent5a68e857bf1b64c2576bbf32429aed5162e90bb9
As a minor cleanup remove the (r)index defines from include/string.h as
they are only used internally in a few places.  Rename all uses that
occur in GLIBC.

* hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
* include/string.h (index): Remove define.
(rindex): Likewise.
* misc/getttyent.c (__getttyent): Rename index to strchr.
* misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
* sunrpc/rpc_main.c (mkfile_output): Likewise.
ChangeLog
hurd/path-lookup.c
include/string.h
misc/getttyent.c
misc/ttyslot.c
sunrpc/rpc_main.c