Skip to content
Snippets Groups Projects
  • Nick Clifton's avatar
    87fce92c
    This patch removes the use of the "register" keyword from the bsearch() and... · 87fce92c
    Nick Clifton authored
    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.
    87fce92c
    History
    This patch removes the use of the "register" keyword from the bsearch() and...
    Nick Clifton authored
    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.