This patch removes the use of the "register" keyword from the bsearch() and bsearch_r...
authorNick Clifton <nickc@redhat.com>
Fri, 26 Jun 2020 09:04:41 +0000 (10:04 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 26 Jun 2020 09:06:48 +0000 (10:06 +0100)
commit87fce92c5c3660a08172a9e29faf54573cedd9ae
tree068e19655a84ef679c80d328794c1bea54734bab
parentd61ffe124430160c4da7516596d6a4dbcdf2a7a6
This patch removes the use of the "register" keyword from the bsearch() and bsearch_r() functions supplied by libiberty.  The register keyword is deprecated in C++17.

2020-06-25  Nick Clifton  <nickc@redhat.com>

include/
* libiberty.h (bsearch_r): Remove use of the register keyword from
the prototype.

libiberty/
* bsearch.c (bsearch): Remove use of register keyword.
* bsearch_r.c (bsearch_r): Likewise.
include/libiberty.h
libiberty/bsearch.c
libiberty/bsearch_r.c