From 918356b9027bfabaf5747d342ea55158568c54b9 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sun, 10 Jan 1993 20:35:41 +0000 Subject: [PATCH] Use struct bfd_seclet * rather than bfd_seclet_type in prototypes to avoid requiring seclet.h before libcoff.h. --- bfd/coffcode.h | 2 +- bfd/libcoff-in.h | 4 ++-- bfd/libcoff.h | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bfd/coffcode.h b/bfd/coffcode.h index fe3fe0f..2884647 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 12616c9..c164c05 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 ee4f471..01effe6 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, -- 2.7.4