diff options
-rw-r--r-- | sys/i386/i386/cons.c | 9 | ||||
-rw-r--r-- | sys/kern/tty_cons.c | 9 |
2 files changed, 6 insertions, 12 deletions
diff --git a/sys/i386/i386/cons.c b/sys/i386/i386/cons.c index 9e0f47f..2a8d59c 100644 --- a/sys/i386/i386/cons.c +++ b/sys/i386/i386/cons.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * from: @(#)cons.c 7.2 (Berkeley) 5/9/91 - * $Id: cons.c,v 1.21 1995/01/23 18:46:13 davidg Exp $ + * $Id: cons.c,v 1.22 1995/02/25 20:09:04 pst Exp $ */ #include <sys/param.h> @@ -74,11 +74,8 @@ static struct consdev constab[] = { struct tty *constty = 0; /* virtual console output device */ struct tty *cn_tty; /* XXX: console tty struct for tprintf */ -/* XXX */ -typedef u_char bool_t; - -static bool_t cn_is_open; /* nonzero if logical console is open */ -static bool_t cn_phys_is_open; /* nonzero if physical console is open */ +static u_char cn_is_open; /* nonzero if logical console is open */ +static u_char cn_phys_is_open; /* nonzero if physical console is open */ static d_close_t *cn_phys_close; /* physical device close function */ static d_open_t *cn_phys_open; /* physical device open function */ static struct consdev *cn_tab; /* physical console device info */ diff --git a/sys/kern/tty_cons.c b/sys/kern/tty_cons.c index 9e0f47f..2a8d59c 100644 --- a/sys/kern/tty_cons.c +++ b/sys/kern/tty_cons.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * from: @(#)cons.c 7.2 (Berkeley) 5/9/91 - * $Id: cons.c,v 1.21 1995/01/23 18:46:13 davidg Exp $ + * $Id: cons.c,v 1.22 1995/02/25 20:09:04 pst Exp $ */ #include <sys/param.h> @@ -74,11 +74,8 @@ static struct consdev constab[] = { struct tty *constty = 0; /* virtual console output device */ struct tty *cn_tty; /* XXX: console tty struct for tprintf */ -/* XXX */ -typedef u_char bool_t; - -static bool_t cn_is_open; /* nonzero if logical console is open */ -static bool_t cn_phys_is_open; /* nonzero if physical console is open */ +static u_char cn_is_open; /* nonzero if logical console is open */ +static u_char cn_phys_is_open; /* nonzero if physical console is open */ static d_close_t *cn_phys_close; /* physical device close function */ static d_open_t *cn_phys_open; /* physical device open function */ static struct consdev *cn_tab; /* physical console device info */ |