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 | 1625164f9b79000b7d066ec8c34d49fc2b2097be (patch) | |
tree | 3313e2df57fc5668f5495045006eded2f6f42c53 /bfd/cpu-mips.c | |
parent | 73926d187f75a586655394cf69e87d17f2e2c5e0 (diff) | |
download | binutils-redhat-1625164f9b79000b7d066ec8c34d49fc2b2097be.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 1d56dffa31..01ecc4e40d 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; |