summaryrefslogtreecommitdiff
path: root/gdb/ns32knbsd-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ns32knbsd-nat.c')
-rw-r--r--gdb/ns32knbsd-nat.c16
1 files changed, 6 insertions, 10 deletions
diff --git a/gdb/ns32knbsd-nat.c b/gdb/ns32knbsd-nat.c
index de2299c37e6..ed824475939 100644
--- a/gdb/ns32knbsd-nat.c
+++ b/gdb/ns32knbsd-nat.c
@@ -36,8 +36,7 @@
memcpy(&dst, &registers[REGISTER_BYTE(src)], sizeof(dst))
void
-fetch_inferior_registers (regno)
- int regno;
+fetch_inferior_registers (int regno)
{
struct reg inferior_registers;
struct fpreg inferior_fpregisters;
@@ -74,8 +73,7 @@ fetch_inferior_registers (regno)
}
void
-store_inferior_registers (regno)
- int regno;
+store_inferior_registers (int regno)
{
struct reg inferior_registers;
struct fpreg inferior_fpregisters;
@@ -183,7 +181,7 @@ static struct core_fns nat_core_fns =
};
void
-_initialize_ns32knbsd_nat ()
+_initialize_ns32knbsd_nat (void)
{
add_core_fns (&nat_core_fns);
}
@@ -200,8 +198,7 @@ _initialize_ns32knbsd_nat ()
* Called by kcore-nbsd.c:get_kcore_registers().
*/
void
-fetch_kcore_registers (pcb)
- struct pcb *pcb;
+fetch_kcore_registers (struct pcb *pcb)
{
struct switchframe sf;
struct reg intreg;
@@ -246,7 +243,7 @@ fetch_kcore_registers (pcb)
#endif /* FETCH_KCORE_REGISTERS */
void
-clear_regs ()
+clear_regs (void)
{
double zero = 0.0;
int null = 0;
@@ -283,8 +280,7 @@ clear_regs ()
Can return -1, meaning no way to tell. */
int
-frame_num_args (fi)
- struct frame_info *fi;
+frame_num_args (struct frame_info *fi)
{
CORE_ADDR enter_addr;
CORE_ADDR argp;