diff options
author | Richard Sandiford <rsandifo@nildram.co.uk> | 2003-12-08 20:04:34 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@nildram.co.uk> | 2003-12-08 20:04:34 +0000 |
commit | 9a1b771f3a7f9f4f4ef90545273d18438aa0a322 (patch) | |
tree | 6cf1f4010d2f109e26f20647d59c3ef474ccf797 /bfd/cpu-mips.c | |
parent | fdcb2d289357b284e8595308c1ade94d2ca073e5 (diff) | |
download | gdb-9a1b771f3a7f9f4f4ef90545273d18438aa0a322.tar.gz |
* elfxx-mips.h, elfxx-mips.c, cpu-mips.c: Convert prototypes.
Remove casts that were only needed for K&R compatibility.
Diffstat (limited to 'bfd/cpu-mips.c')
-rw-r--r-- | bfd/cpu-mips.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bfd/cpu-mips.c b/bfd/cpu-mips.c index 1d56dffa31f..01ecc4e40d0 100644 --- a/bfd/cpu-mips.c +++ b/bfd/cpu-mips.c @@ -24,15 +24,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "libbfd.h" static const bfd_arch_info_type *mips_compatible - PARAMS ((const bfd_arch_info_type *, const bfd_arch_info_type *)); + (const bfd_arch_info_type *, const bfd_arch_info_type *); /* The default routine tests bits_per_word, which is wrong on mips as mips word size doesn't correlate with reloc size. */ static const bfd_arch_info_type * -mips_compatible (a, b) - const bfd_arch_info_type *a; - const bfd_arch_info_type *b; +mips_compatible (const bfd_arch_info_type *a, const bfd_arch_info_type *b) { if (a->arch != b->arch) return NULL; |