aboutsummaryrefslogtreecommitdiff
path: root/gdb/w89k-rom.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/w89k-rom.c
parent29e6d33b03a5e39540d17bc8235573b1dac13341 (diff)
downloadgdb-fba45db2faf619e71856ee38ec63949c0ef6903e.zip
gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.gz
gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.bz2
Protoization.
Diffstat (limited to 'gdb/w89k-rom.c')
-rw-r--r--gdb/w89k-rom.c17
1 files changed, 4 insertions, 13 deletions
diff --git a/gdb/w89k-rom.c b/gdb/w89k-rom.c
index 9a73362..e33a3c5 100644
--- a/gdb/w89k-rom.c
+++ b/gdb/w89k-rom.c
@@ -50,11 +50,7 @@ static char *w89k_regnames[NUM_REGS] =
};
static void
-w89k_supply_register (regname, regnamelen, val, vallen)
- char *regname;
- int regnamelen;
- char *val;
- int vallen;
+w89k_supply_register (char *regname, int regnamelen, char *val, int vallen)
{
int numregs;
int regno;
@@ -163,10 +159,7 @@ static int hashmark = 1; /* flag set by "set hash" */
extern struct monitor_ops w89k_cmds; /* fwd decl */
static void
-w89k_load (desc, file, hashmark)
- serial_t desc;
- char *file;
- int hashmark;
+w89k_load (serial_t desc, char *file, int hashmark)
{
bfd *abfd;
asection *s;
@@ -296,15 +289,13 @@ init_w89k_cmds (void)
} /* init_w89k_cmds */
static void
-w89k_open (args, from_tty)
- char *args;
- int from_tty;
+w89k_open (char *args, int from_tty)
{
monitor_open (args, &w89k_cmds, from_tty);
}
void
-_initialize_w89k ()
+_initialize_w89k (void)
{
init_w89k_cmds ();
init_monitor_ops (&w89k_ops);