aboutsummaryrefslogtreecommitdiff
path: root/gdb/ppc-bdm.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/ppc-bdm.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/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 e10ebac..1cd0237 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);