mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
Eliminate my private type `bool_t'.
This commit is contained in:
parent
eac78dccac
commit
0fe414febc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=6731
@ -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 */
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user