diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2003-07-11 11:08:30 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2003-07-11 11:08:30 +0000 |
commit | c6baf75ed1463f657d61784cf9e5db2c89228482 (patch) | |
tree | 89448e3abbc539a27a300000d7433762eaf1e07e /bfd/cpu-h8300.c | |
parent | 27e417a2c44a3f30fa62f4aac4427d6633427feb (diff) | |
download | gdb-c6baf75ed1463f657d61784cf9e5db2c89228482.zip gdb-c6baf75ed1463f657d61784cf9e5db2c89228482.tar.gz gdb-c6baf75ed1463f657d61784cf9e5db2c89228482.tar.bz2 |
* 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.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/bfd/cpu-h8300.c b/bfd/cpu-h8300.c index e1c77bf..6ed0fff 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) |