diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-07-30 01:48:28 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-07-30 01:48:28 +0000 |
commit | fba45db2faf619e71856ee38ec63949c0ef6903e (patch) | |
tree | 107efc21d2b12f54d84b59e75251449e3d5fd096 /gdb/ns32knbsd-nat.c | |
parent | 29e6d33b03a5e39540d17bc8235573b1dac13341 (diff) | |
download | gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.zip gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.gz gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.bz2 |
Protoization.
Diffstat (limited to 'gdb/ns32knbsd-nat.c')
-rw-r--r-- | gdb/ns32knbsd-nat.c | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/gdb/ns32knbsd-nat.c b/gdb/ns32knbsd-nat.c index de2299c..ed82447 100644 --- a/gdb/ns32knbsd-nat.c +++ b/gdb/ns32knbsd-nat.c @@ -36,8 +36,7 @@ memcpy(&dst, ®isters[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; |