summaryrefslogtreecommitdiff
path: root/gdb/m68knbsd-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/m68knbsd-nat.c')
-rw-r--r--gdb/m68knbsd-nat.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/gdb/m68knbsd-nat.c b/gdb/m68knbsd-nat.c
index b76dc79c5e2..9dc59c0f269 100644
--- a/gdb/m68knbsd-nat.c
+++ b/gdb/m68knbsd-nat.c
@@ -27,8 +27,7 @@
#include "inferior.h"
void
-fetch_inferior_registers (regno)
- int regno;
+fetch_inferior_registers (int regno)
{
struct reg inferior_registers;
struct fpreg inferior_fp_registers;
@@ -47,8 +46,7 @@ fetch_inferior_registers (regno)
}
void
-store_inferior_registers (regno)
- int regno;
+store_inferior_registers (int regno)
{
struct reg inferior_registers;
struct fpreg inferior_fp_registers;
@@ -71,11 +69,8 @@ struct md_core
};
static void
-fetch_core_registers (core_reg_sect, core_reg_size, which, ignore)
- char *core_reg_sect;
- unsigned core_reg_size;
- int which;
- CORE_ADDR ignore;
+fetch_core_registers (char *core_reg_sect, unsigned core_reg_size, int which,
+ CORE_ADDR ignore)
{
struct md_core *core_reg = (struct md_core *) core_reg_sect;
@@ -100,7 +95,7 @@ static struct core_fns m68knbsd_core_fns =
};
void
-_initialize_m68knbsd_nat ()
+_initialize_m68knbsd_nat (void)
{
add_core_fns (&m68knbsd_core_fns);
}