Browse Source

Use struct bfd_seclet * rather than bfd_seclet_type in prototypes to

avoid requiring seclet.h before libcoff.h.
gdb-4_18-branch
Ian Lance Taylor 34 years ago
parent
commit
918356b902
  1. 2
      bfd/coffcode.h
  2. 4
      bfd/libcoff-in.h
  3. 6
      bfd/libcoff.h

2
bfd/coffcode.h

@ -557,7 +557,7 @@ dependent COFF routines
. struct internal_syment *sym));
. void (*_bfd_coff_reloc16_extra_cases) PARAMS ((
. bfd *abfd,
. bfd_seclet_type *seclet,
. struct bfd_seclet *seclet,
. arelent *reloc,
. bfd_byte *data,
. unsigned int *src_ptr,

4
bfd/libcoff-in.h

@ -104,9 +104,9 @@ extern boolean bfd_coff_reloc16_relax_section PARAMS ((bfd *,
asection *,
asymbol **));
extern bfd_byte *bfd_coff_reloc16_get_relocated_section_contents
PARAMS ((bfd *, bfd_seclet_type *, bfd_byte *));
PARAMS ((bfd *, struct bfd_seclet *, bfd_byte *));
extern bfd_vma bfd_coff_reloc16_get_value PARAMS ((arelent *,
bfd_seclet_type *));
struct bfd_seclet *));
/* And more taken from the source .. */

6
bfd/libcoff.h

@ -104,9 +104,9 @@ extern boolean bfd_coff_reloc16_relax_section PARAMS ((bfd *,
asection *,
asymbol **));
extern bfd_byte *bfd_coff_reloc16_get_relocated_section_contents
PARAMS ((bfd *, bfd_seclet_type *, bfd_byte *));
PARAMS ((bfd *, struct bfd_seclet *, bfd_byte *));
extern bfd_vma bfd_coff_reloc16_get_value PARAMS ((arelent *,
bfd_seclet_type *));
struct bfd_seclet *));
/* And more taken from the source .. */
@ -252,7 +252,7 @@ typedef struct
struct internal_syment *sym));
void (*_bfd_coff_reloc16_extra_cases) PARAMS ((
bfd *abfd,
bfd_seclet_type *seclet,
struct bfd_seclet *seclet,
arelent *reloc,
bfd_byte *data,
unsigned int *src_ptr,

Loading…
Cancel
Save