summaryrefslogtreecommitdiff
path: root/sys/ddb/db_command.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ddb/db_command.c')
-rw-r--r--sys/ddb/db_command.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c
index 061900f072c..7708cb88368 100644
--- a/sys/ddb/db_command.c
+++ b/sys/ddb/db_command.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_command.c,v 1.15 1998/08/30 15:38:25 art Exp $ */
+/* $OpenBSD: db_command.c,v 1.16 1998/09/01 04:26:59 art Exp $ */
/* $NetBSD: db_command.c,v 1.20 1996/03/30 22:30:05 christos Exp $ */
/*
@@ -31,8 +31,6 @@
* Command dispatcher.
*/
#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/mount.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/reboot.h>
@@ -53,8 +51,6 @@
#include <ddb/db_extern.h>
#include <vm/vm.h>
-#include <sys/syscall.h>
-#include <sys/syscallargs.h>
/*
* Exported global variables
@@ -384,7 +380,6 @@ struct db_command db_command_table[] = {
{ "boot", NULL, 0, db_boot_cmds },
{ "help", db_help_cmd, 0, NULL },
{ "hangman", db_hangman, 0, NULL },
- { "sync", db_sync_cmd, 0, NULL },
{ NULL, NULL, 0, NULL }
};
@@ -549,15 +544,3 @@ db_boot_dump_cmd(addr, haddr, count, modif)
{
boot(RB_DUMP | RB_TIMEBAD);
}
-
-void
-db_sync_cmd(addr, haddr, count, modif)
- db_expr_t addr;
- int haddr;
- db_expr_t count;
- char *modif;
-{
- register_t rval[2];
-
- sys_sync(&proc0, NULL, rval);
-}