aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-nat.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-07-30 01:48:28 +0000
committerKevin Buettner <kevinb@redhat.com>2000-07-30 01:48:28 +0000
commitfba45db2faf619e71856ee38ec63949c0ef6903e (patch)
tree107efc21d2b12f54d84b59e75251449e3d5fd096 /gdb/sparc-nat.c
parent29e6d33b03a5e39540d17bc8235573b1dac13341 (diff)
downloadfsf-binutils-gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.zip
fsf-binutils-gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.gz
fsf-binutils-gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.bz2
Protoization.
Diffstat (limited to 'gdb/sparc-nat.c')
-rw-r--r--gdb/sparc-nat.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/gdb/sparc-nat.c b/gdb/sparc-nat.c
index a9b661f..c62054a 100644
--- a/gdb/sparc-nat.c
+++ b/gdb/sparc-nat.c
@@ -50,8 +50,7 @@ static void fetch_core_registers (char *, unsigned int, int, CORE_ADDR);
marking them as valid so we won't fetch them again. */
void
-fetch_inferior_registers (regno)
- int regno;
+fetch_inferior_registers (int regno)
{
struct regs inferior_registers;
struct fp_status inferior_fp_registers;
@@ -144,8 +143,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)
{
struct regs inferior_registers;
struct fp_status inferior_fp_registers;
@@ -313,7 +311,7 @@ fetch_core_registers (core_reg_sect, core_reg_size, which, ignore)
}
int
-kernel_u_size ()
+kernel_u_size (void)
{
return (sizeof (struct user));
}
@@ -332,7 +330,7 @@ static struct core_fns sparc_core_fns =
};
void
-_initialize_core_sparc ()
+_initialize_core_sparc (void)
{
add_core_fns (&sparc_core_fns);
}