Use struct bfd_seclet * rather than bfd_seclet_type in prototypes to
authorIan Lance Taylor <ian@airs.com>
Sun, 10 Jan 1993 20:35:41 +0000 (20:35 +0000)
committerIan Lance Taylor <ian@airs.com>
Sun, 10 Jan 1993 20:35:41 +0000 (20:35 +0000)
avoid requiring seclet.h before libcoff.h.

bfd/coffcode.h
bfd/libcoff-in.h
bfd/libcoff.h

index fe3fe0f..2884647 100644 (file)
@@ -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,
index 12616c9..c164c05 100644 (file)
@@ -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 .. */
 
index ee4f471..01effe6 100644 (file)
@@ -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,