Browse Source

* archive.c (_bfd_look_for_bfd_in_cache): Move declaration of

has_table to the start of the function.
csl-arm-20050325-branch
Mark Kettenis 22 years ago
parent
commit
a2633f4e94
  1. 5
      bfd/ChangeLog
  2. 2
      bfd/archive.c

5
bfd/ChangeLog

@ -1,3 +1,8 @@
2005-03-10 Mark Kettenis <kettenis@gnu.org>
* archive.c (_bfd_look_for_bfd_in_cache): Move declaration of
has_table to the start of the function.
2005-03-10 Ben Elliston <bje@au.ibm.com>
* archive.c: Include hashtab.h.

2
bfd/archive.c

@ -247,10 +247,10 @@ bfd_set_archive_head (bfd *output_archive, bfd *new_head)
bfd *
_bfd_look_for_bfd_in_cache (bfd *arch_bfd, file_ptr filepos)
{
htab_t hash_table = bfd_ardata (arch_bfd)->cache;
struct ar_cache m;
m.ptr = filepos;
htab_t hash_table = bfd_ardata (arch_bfd)->cache;
if (hash_table)
{
struct ar_cache *entry = (struct ar_cache *) htab_find (hash_table, &m);

Loading…
Cancel
Save