diff options
author | Wilco Dijkstra <wdijkstr@arm.com> | 2017-02-06 18:14:16 +0000 |
---|---|---|
committer | Wilco Dijkstra <wdijkstr@arm.com> | 2017-02-06 18:15:18 +0000 |
commit | c7a37ad352c90d798d138b9f83e0333c78d08410 (patch) | |
tree | e6946eed9f90ca89dd2660a8f1360961cffc9eb5 /ChangeLog | |
parent | 5a68e857bf1b64c2576bbf32429aed5162e90bb9 (diff) | |
download | glibc-c7a37ad352c90d798d138b9f83e0333c78d08410.zip glibc-c7a37ad352c90d798d138b9f83e0333c78d08410.tar.gz glibc-c7a37ad352c90d798d138b9f83e0333c78d08410.tar.bz2 |
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,12 @@ +2017-02-06 Wilco Dijkstra <wdijkstr@arm.com> + + * 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. + 2017-02-06 Joseph Myers <joseph@codesourcery.com> * math/libm-test-driver.c: New file. Based on math/libm-test.inc. |