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/i386-linux-nat.c | |
parent | 29e6d33b03a5e39540d17bc8235573b1dac13341 (diff) | |
download | gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.zip gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.gz gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.bz2 |
Protoization.
Diffstat (limited to 'gdb/i386-linux-nat.c')
-rw-r--r-- | gdb/i386-linux-nat.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/gdb/i386-linux-nat.c b/gdb/i386-linux-nat.c index 6a37558..6d7b50e 100644 --- a/gdb/i386-linux-nat.c +++ b/gdb/i386-linux-nat.c @@ -146,8 +146,7 @@ int have_ptrace_getxfpregs = /* Fetch one register. */ static void -fetch_register (regno) - int regno; +fetch_register (int regno) { /* This isn't really an address. But ptrace thinks of it as one. */ CORE_ADDR regaddr; @@ -192,8 +191,7 @@ fetch_register (regno) Otherwise, REGNO specifies which register (so we can save time). */ void -old_fetch_inferior_registers (regno) - int regno; +old_fetch_inferior_registers (int regno) { if (regno >= 0) { @@ -216,8 +214,7 @@ old_fetch_inferior_registers (regno) /* Store one register. */ static void -store_register (regno) - int regno; +store_register (int regno) { /* This isn't really an address. But ptrace thinks of it as one. */ CORE_ADDR regaddr; @@ -258,8 +255,7 @@ store_register (regno) Otherwise, REGNO specifies which register (so we can save time). */ void -old_store_inferior_registers (regno) - int regno; +old_store_inferior_registers (int regno) { if (regno >= 0) { @@ -1151,7 +1147,7 @@ static struct core_fns linux_elf_core_fns = }; void -_initialize_i386_linux_nat () +_initialize_i386_linux_nat (void) { add_core_fns (&linux_elf_core_fns); } |