From: Ian Lance Taylor Date: Sun, 10 Jan 1993 20:35:41 +0000 (+0000) Subject: Use struct bfd_seclet * rather than bfd_seclet_type in prototypes to X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=918356b9027bfabaf5747d342ea55158568c54b9;p=binutils-gdb.git Use struct bfd_seclet * rather than bfd_seclet_type in prototypes to avoid requiring seclet.h before libcoff.h. --- diff --git a/bfd/coffcode.h b/bfd/coffcode.h index fe3fe0fff0d..288464701f6 100644 --- a/bfd/coffcode.h +++ b/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, diff --git a/bfd/libcoff-in.h b/bfd/libcoff-in.h index 12616c99dd7..c164c059613 100644 --- a/bfd/libcoff-in.h +++ b/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 .. */ diff --git a/bfd/libcoff.h b/bfd/libcoff.h index ee4f4713032..01effe6fa3f 100644 --- a/bfd/libcoff.h +++ b/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,