summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty_cons.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-02-26 03:15:36 +0000
committerbde <bde@FreeBSD.org>1995-02-26 03:15:36 +0000
commit13cbdca12e3449f7f60b40f5591e9c0fe4be9fc0 (patch)
treeb7c356c20368f8e027260616b0364fad9dacdd61 /sys/kern/tty_cons.c
parent9e59b6d7ce648534f0c6d346b9ff5964dbd6c479 (diff)
downloadFreeBSD-src-13cbdca12e3449f7f60b40f5591e9c0fe4be9fc0.zip
FreeBSD-src-13cbdca12e3449f7f60b40f5591e9c0fe4be9fc0.tar.gz
Eliminate my private type `bool_t'.
Diffstat (limited to 'sys/kern/tty_cons.c')
-rw-r--r--sys/kern/tty_cons.c9
1 files changed, 3 insertions, 6 deletions
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 */
OpenPOWER on IntegriCloud