[PATCH] converted irix-core.c to ISO C

Joel Brobecker brobecker@adacore.com
Tue Mar 29 15:23:00 GMT 2005


> > +static int do_sections64 (bfd *, struct coreout *);
> 
> This one can go too.  OK with that change.

Good catch. I don't know why I thought it was needed.

Here is what I ended up cheking in:

2005-03-29  Joel Brobecker  <brobecker@gnat.com>

        * irix-core.c: Remove some unnecessary prototypes.

Thanks,
-- 
Joel
-------------- next part --------------
Index: irix-core.c
===================================================================
RCS file: /cvs/src/src/bfd/irix-core.c,v
retrieving revision 1.14
diff -u -p -r1.14 irix-core.c
--- irix-core.c	29 Mar 2005 04:48:45 -0000	1.14
+++ irix-core.c	29 Mar 2005 08:33:00 -0000
@@ -43,22 +43,6 @@ struct sgi_core_struct
 
 static asection *make_bfd_asection
   (bfd *, const char *, flagword, bfd_size_type, bfd_vma, file_ptr);
-static const bfd_target *irix_core_core_file_p
-  (bfd *);
-static char *irix_core_core_file_failing_command
-  (bfd *);
-static int irix_core_core_file_failing_signal
-  (bfd *);
-static bfd_boolean irix_core_core_file_matches_executable_p
-  (bfd *, bfd *);
-static void swap_abort
-  (void);
-#ifdef CORE_MAGIC64
-static int do_sections64
-  (bfd *, struct coreout *);
-#endif
-static int do_sections
-  (bfd *, struct coreout *);
 
 /* Helper function for irix_core_core_file_p:
    32-bit and 64-bit versions.  */


More information about the Binutils mailing list