diff options
Diffstat (limited to 'libiberty/bsearch_r.c')
-rw-r--r-- | libiberty/bsearch_r.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libiberty/bsearch_r.c b/libiberty/bsearch_r.c index 79ebae9..2a2ca6f 100644 --- a/libiberty/bsearch_r.c +++ b/libiberty/bsearch_r.c @@ -70,14 +70,14 @@ is respectively less than, matching, or greater than the array member. * look at item 3. */ void * -bsearch_r (register const void *key, const void *base0, - size_t nmemb, register size_t size, - register int (*compar)(const void *, const void *, void *), +bsearch_r (const void *key, const void *base0, + size_t nmemb, size_t size, + int (*compar)(const void *, const void *, void *), void *arg) { - register const char *base = (const char *) base0; - register int lim, cmp; - register const void *p; + const char *base = (const char *) base0; + int lim, cmp; + const void *p; for (lim = nmemb; lim != 0; lim >>= 1) { p = base + (lim >> 1) * size; |