aboutsummaryrefslogtreecommitdiff
path: root/bfd/cpu-h8300.c
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2003-07-11 11:08:30 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2003-07-11 11:08:30 +0000
commitc6baf75ed1463f657d61784cf9e5db2c89228482 (patch)
tree89448e3abbc539a27a300000d7433762eaf1e07e /bfd/cpu-h8300.c
parent27e417a2c44a3f30fa62f4aac4427d6633427feb (diff)
downloadgdb-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.c12
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)