summaryrefslogtreecommitdiff
path: root/sys/stand
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-08-13 03:49:29 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-08-13 03:49:29 +0000
commitdc838e4b20aca8fda46e1433689baea44e2e37dc (patch)
treebe4ba17cf8e727ff31f7ce8f4ec7e27f9866cbdf /sys/stand
parentc69909d956f0e4e0be2a520d49aae82c64a777a3 (diff)
remove unused include
more const
Diffstat (limited to 'sys/stand')
-rw-r--r--sys/stand/boot/cmd.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/stand/boot/cmd.c b/sys/stand/boot/cmd.c
index ff445849487..0e35233aa36 100644
--- a/sys/stand/boot/cmd.c
+++ b/sys/stand/boot/cmd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd.c,v 1.21 1997/08/12 22:10:43 mickey Exp $ */
+/* $OpenBSD: cmd.c,v 1.22 1997/08/13 03:49:28 mickey Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -37,9 +37,6 @@
#include <debug.h>
#include <sys/reboot.h>
#include "cmd.h"
-#ifndef _TEST0
-#include <biosdev.h>
-#endif
extern int debug;
@@ -75,7 +72,7 @@ struct cmd_table {
int (*cmd_exec) __P((void));
};
-static struct cmd_table cmd_set[] = {
+static const struct cmd_table cmd_set[] = {
{"addr", CMDT_VAR, Xaddr},
{"howto", CMDT_VAR, Xhowto},
#ifdef DEBUG
@@ -87,7 +84,7 @@ static struct cmd_table cmd_set[] = {
{NULL,0}
};
-static struct cmd_table cmd_table[] = {
+static const struct cmd_table cmd_table[] = {
{"boot", CMDT_CMD, Xboot}, /* XXX must be first */
{"cd", CMDT_CMD, Xcd},
{"cp", CMDT_CMD, Xcp},