Remove the use of the register keyword in the libiberty.h header file - it is depreca...
authorNick Clifton <nickc@redhat.com>
Thu, 25 Jun 2020 10:16:42 +0000 (11:16 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 25 Jun 2020 10:16:42 +0000 (11:16 +0100)
* libiberty.h (bsearch_r): Remove use of the register keyword from
the prototype.

include/ChangeLog
include/libiberty.h

index 225167973bfbc253fa2945d3f61ef6ffca45c731..8e06abff3403534c296db15fded764ef43d7e7b3 100644 (file)
@@ -1,3 +1,8 @@
+2020-06-25  Nick Clifton  <nickc@redhat.com>
+
+       * libiberty.h (bsearch_r): Remove use of the register keyword from
+       the prototype.
+
 2020-06-24  H.J. Lu  <hongjiu.lu@intel.com>
 
        Sync with GCC
index 0bb5b81d4acb9732d926c8f7563628b42fbd313d..591e9ac48d44529274817eb123381626b1c777cc 100644 (file)
@@ -643,9 +643,9 @@ extern int pwait (int, int *, int);
 
 /* Like bsearch, but takes and passes on an argument like qsort_r.  */
 
-extern void *bsearch_r (register const void *, const void *,
-                       size_t, register size_t,
-                       register int (*)(const void *, const void *, void *),
+extern void *bsearch_r (const void *, const void *,
+                       size_t, size_t,
+                       int (*)(const void *, const void *, void *),
                        void *);
 
 #if defined(HAVE_DECL_ASPRINTF) && !HAVE_DECL_ASPRINTF
This page took 0.025126 seconds and 4 git commands to generate.