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/core-aout.c | |
parent | 29e6d33b03a5e39540d17bc8235573b1dac13341 (diff) | |
download | binutils-gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.gz |
Protoization.
Diffstat (limited to 'gdb/core-aout.c')
-rw-r--r-- | gdb/core-aout.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/gdb/core-aout.c b/gdb/core-aout.c index ad64720eb17..367090ff6d4 100644 --- a/gdb/core-aout.c +++ b/gdb/core-aout.c @@ -73,11 +73,8 @@ void _initialize_core_aout (void); */ static void -fetch_core_registers (core_reg_sect, core_reg_size, which, reg_addr) - char *core_reg_sect; - unsigned core_reg_size; - int which; - CORE_ADDR reg_addr; +fetch_core_registers (char *core_reg_sect, unsigned core_reg_size, int which, + CORE_ADDR reg_addr) { int regno; CORE_ADDR addr; @@ -115,9 +112,7 @@ fetch_core_registers (core_reg_sect, core_reg_size, which, reg_addr) BLOCKEND is the address of the end of the user structure. */ CORE_ADDR -register_addr (regno, blockend) - int regno; - CORE_ADDR blockend; +register_addr (int regno, CORE_ADDR blockend) { CORE_ADDR addr; @@ -144,7 +139,7 @@ static struct core_fns aout_core_fns = }; void -_initialize_core_aout () +_initialize_core_aout (void) { add_core_fns (&aout_core_fns); } |