summaryrefslogtreecommitdiff
path: root/gdb/ppc-bdm.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ppc-bdm.c')
-rw-r--r--gdb/ppc-bdm.c16
1 files changed, 5 insertions, 11 deletions
diff --git a/gdb/ppc-bdm.c b/gdb/ppc-bdm.c
index e10ebace770..1cd0237fbf5 100644
--- a/gdb/ppc-bdm.c
+++ b/gdb/ppc-bdm.c
@@ -77,9 +77,7 @@ char nowatchdog[4] =
NAME is the filename used for communication. */
static void
-bdm_ppc_open (name, from_tty)
- char *name;
- int from_tty;
+bdm_ppc_open (char *name, int from_tty)
{
CORE_ADDR watchdogaddr = 0xff000004;
@@ -99,9 +97,7 @@ bdm_ppc_open (name, from_tty)
means in the case of this target). */
static int
-bdm_ppc_wait (pid, target_status)
- int pid;
- struct target_waitstatus *target_status;
+bdm_ppc_wait (int pid, struct target_waitstatus *target_status)
{
int stop_reason;
@@ -153,8 +149,7 @@ static int bdm_regmap[] =
*/
static void
-bdm_ppc_fetch_registers (regno)
- int regno;
+bdm_ppc_fetch_registers (int regno)
{
int i;
unsigned char *regs, *beginregs, *endregs, *almostregs;
@@ -258,8 +253,7 @@ bdm_ppc_fetch_registers (regno)
of REGISTERS. FIXME: ignores errors. */
static void
-bdm_ppc_store_registers (regno)
- int regno;
+bdm_ppc_store_registers (int regno)
{
int i;
int first_regno, last_regno;
@@ -383,7 +377,7 @@ a wiggler, specify wiggler and then the port it is connected to\n\
} /* init_bdm_ppc_ops */
void
-_initialize_bdm_ppc ()
+_initialize_bdm_ppc (void)
{
init_bdm_ppc_ops ();
add_target (&bdm_ppc_ops);