summaryrefslogtreecommitdiff
path: root/bfd/cpu-h8300.c
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@nildram.co.uk>2003-07-11 11:08:30 +0000
committerRichard Sandiford <rsandifo@nildram.co.uk>2003-07-11 11:08:30 +0000
commitd4617d6fec602034d6b1b34e57c5a30c8b51a3c5 (patch)
treef90ed1e2c08179f6a2e8aa4e6f1e6903284abdce /bfd/cpu-h8300.c
parent9197b9eae656d451c5bb2bc7db02e96498722f03 (diff)
downloadbinutils-redhat-d4617d6fec602034d6b1b34e57c5a30c8b51a3c5.tar.gz
* elf32-h8300.c: Convert function prototypes and definitions
to C90 syntax. * coff-h8300.c: Likewise. * cpu-h8300.c: Likewise.
Diffstat (limited to 'bfd/cpu-h8300.c')
-rw-r--r--bfd/cpu-h8300.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/bfd/cpu-h8300.c b/bfd/cpu-h8300.c
index e1c77bfe2e..6ed0fff363 100644
--- a/bfd/cpu-h8300.c
+++ b/bfd/cpu-h8300.c
@@ -24,14 +24,12 @@
#include "libbfd.h"
static bfd_boolean h8300_scan
- PARAMS ((const struct bfd_arch_info *, const char *));
+ (const struct bfd_arch_info *, const char *);
static const bfd_arch_info_type * compatible
- PARAMS ((const bfd_arch_info_type *, const bfd_arch_info_type *));
+ (const bfd_arch_info_type *, const bfd_arch_info_type *);
static bfd_boolean
-h8300_scan (info, string)
- const struct bfd_arch_info *info;
- const char *string;
+h8300_scan (const struct bfd_arch_info *info, const char *string)
{
if (*string != 'h' && *string != 'H')
return FALSE;
@@ -101,9 +99,7 @@ h8300_scan (info, string)
info structure. */
static const bfd_arch_info_type *
-compatible (in, out)
- const bfd_arch_info_type *in;
- const bfd_arch_info_type *out;
+compatible (const bfd_arch_info_type *in, const bfd_arch_info_type *out)
{
/* It's really not a good idea to mix and match modes. */
if (in->arch != out->arch || in->mach != out->mach)