diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2003-12-08 20:04:34 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2003-12-08 20:04:34 +0000 |
commit | 9719ad41491a8db3cb14107ec466364ad02ce9be (patch) | |
tree | 0fca9e90be9b9e68f933f95a179ad6a12657fb89 /bfd/cpu-mips.c | |
parent | 9b74d5d38586baed99d7422d48f760747a8e83cb (diff) | |
download | gdb-9719ad41491a8db3cb14107ec466364ad02ce9be.zip gdb-9719ad41491a8db3cb14107ec466364ad02ce9be.tar.gz gdb-9719ad41491a8db3cb14107ec466364ad02ce9be.tar.bz2 |
* 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 1d56dff..01ecc4e 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; |