From fba45db2faf619e71856ee38ec63949c0ef6903e Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Sun, 30 Jul 2000 01:48:28 +0000 Subject: Protoization. --- gdb/cxux-nat.c | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) (limited to 'gdb/cxux-nat.c') diff --git a/gdb/cxux-nat.c b/gdb/cxux-nat.c index 93ed232..c37fc0c 100644 --- a/gdb/cxux-nat.c +++ b/gdb/cxux-nat.c @@ -139,8 +139,7 @@ fetch_inferior_registers (regno) Otherwise, REGNO specifies which register (so we can save time). */ void -store_inferior_registers (regno) - int regno; +store_inferior_registers (int regno) { register unsigned int regaddr; char buf[80]; @@ -249,8 +248,7 @@ store_inferior_registers (regno) /* blockend is the address of the end of the user structure */ -m88k_register_u_addr (blockend, regnum) - int blockend, regnum; +m88k_register_u_addr (int blockend, int regnum) { struct USER u; int ustart = blockend - sizeof (struct USER); @@ -289,8 +287,7 @@ m88k_register_u_addr (blockend, regnum) register values. */ void -supply_gregset (gregsetp) - gregset_t *gregsetp; +supply_gregset (gregset_t *gregsetp) { register int regi; register greg_t *regp = (greg_t *) gregsetp; @@ -307,9 +304,7 @@ supply_gregset (gregsetp) } void -fill_gregset (gregsetp, regno) - gregset_t *gregsetp; - int regno; +fill_gregset (gregset_t *gregsetp, int regno) { int regi; register greg_t *regp = (greg_t *) gregsetp; @@ -357,7 +352,7 @@ struct link_map #endif void -add_shared_symbol_files () +add_shared_symbol_files (void) { void *desc; struct link_map *ld_map, *lm, lms; @@ -410,8 +405,7 @@ add_shared_symbol_files () #include unsigned int -m88k_harris_core_register_addr (regno, reg_ptr) - int regno, reg_ptr; +m88k_harris_core_register_addr (int regno, int reg_ptr) { unsigned int word_offset; @@ -447,7 +441,7 @@ m88k_harris_core_register_addr (regno, reg_ptr) #endif /* _ES_MP */ void -_initialize_m88k_nat () +_initialize_m88k_nat (void) { #ifdef _ES_MP /* Enable 88110 support, as we don't support the 88100 under ES/MP. */ @@ -465,8 +459,7 @@ _initialize_m88k_nat () register values. */ void -supply_gregset (gregsetp) - gregset_t *gregsetp; +supply_gregset (gregset_t *gregsetp) { register int regi; register greg_t *regp = (greg_t *) gregsetp; @@ -488,8 +481,7 @@ supply_gregset (gregsetp) idea of the current floating point register values. */ void -supply_fpregset (fpregsetp) - fpregset_t *fpregsetp; +supply_fpregset (fpregset_t *fpregsetp) { register int regi; char *from; -- cgit v1.1