summaryrefslogtreecommitdiff
path: root/sys/ddb/db_command.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-05-31 10:37:26 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-05-31 10:37:26 +0000
commit372a715b2656521b7f9996e843503eaf6c1ba662 (patch)
treefb630d81618b5c0f31dcd1cccba54763aff19d5f /sys/ddb/db_command.c
parent2bfce6e09bd489a54af36e827ccff55a0bdbabd4 (diff)
-Wall and -Wstrict-prototypes cleanup
Diffstat (limited to 'sys/ddb/db_command.c')
-rw-r--r--sys/ddb/db_command.c24
1 files changed, 16 insertions, 8 deletions
diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c
index 5f1970b7eff..4ed6436264c 100644
--- a/sys/ddb/db_command.c
+++ b/sys/ddb/db_command.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_command.c,v 1.8 1996/05/05 12:23:09 mickey Exp $ */
+/* $OpenBSD: db_command.c,v 1.9 1996/05/31 10:37:24 niklas Exp $ */
/* $NetBSD: db_command.c,v 1.20 1996/03/30 22:30:05 christos Exp $ */
/*
@@ -339,10 +339,6 @@ struct db_command db_show_cmds[] = {
{ NULL, NULL, 0, NULL, }
};
-void db_boot_sync_cmd();
-void db_boot_crash_cmd();
-void db_boot_dump_cmd();
-
struct db_command db_boot_cmds[] = {
{ "sync", db_boot_sync_cmd, 0, 0 },
{ "crash", db_boot_crash_cmd, 0, 0 },
@@ -519,19 +515,31 @@ db_fncall(addr, have_addr, count, modif)
}
void
-db_boot_sync_cmd()
+db_boot_sync_cmd(addr, haddr, count, modif)
+ db_expr_t addr;
+ int haddr;
+ db_expr_t count;
+ char *modif;
{
boot(RB_AUTOBOOT);
}
void
-db_boot_crash_cmd()
+db_boot_crash_cmd(addr, haddr, count, modif)
+ db_expr_t addr;
+ int haddr;
+ db_expr_t count;
+ char *modif;
{
boot(RB_NOSYNC | RB_DUMP);
}
void
-db_boot_dump_cmd()
+db_boot_dump_cmd(addr, haddr, count, modif)
+ db_expr_t addr;
+ int haddr;
+ db_expr_t count;
+ char *modif;
{
boot(RB_DUMP);
}