aboutsummaryrefslogtreecommitdiff
path: root/gdb/dpx2-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/dpx2-nat.c')
-rw-r--r--gdb/dpx2-nat.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/dpx2-nat.c b/gdb/dpx2-nat.c
index d039a13..37275fe 100644
--- a/gdb/dpx2-nat.c
+++ b/gdb/dpx2-nat.c
@@ -47,9 +47,7 @@ static int regmap[] =
*/
int
-dpx2_register_u_addr (blockend, regnum)
- int blockend;
- int regnum;
+dpx2_register_u_addr (int blockend, int regnum)
{
if (regnum < FP0_REGNUM)
return (blockend + 4 * regmap[regnum]);
@@ -73,7 +71,7 @@ dpx2_register_u_addr (blockend, regnum)
CORE_ADDR kernel_u_addr;
void
-_initialize_dpx2_nat ()
+_initialize_dpx2_nat (void)
{
struct utsname uts;