diff options
author | bde <bde@FreeBSD.org> | 1998-02-20 13:46:58 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-02-20 13:46:58 +0000 |
commit | bfefd71bbf1b93a547f07e251bfb03042a466128 (patch) | |
tree | 4ff6756d5d46e0a515b40448baba93374157873c /sys/kern | |
parent | 999552194c9310b6d3c3479bad9d10560e7a6efd (diff) | |
download | FreeBSD-src-bfefd71bbf1b93a547f07e251bfb03042a466128.zip FreeBSD-src-bfefd71bbf1b93a547f07e251bfb03042a466128.tar.gz |
Don't depend on "implicit int" or bloat the data section in the
declaration of xxx_devsw_installed.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/subr_log.c | 4 | ||||
-rw-r--r-- | sys/kern/tty_snoop.c | 2 | ||||
-rw-r--r-- | sys/kern/tty_tty.c | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/subr_log.c b/sys/kern/subr_log.c index 7ee1838..f29d76c 100644 --- a/sys/kern/subr_log.c +++ b/sys/kern/subr_log.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)subr_log.c 8.1 (Berkeley) 6/10/93 - * $Id: subr_log.c,v 1.25 1997/10/28 15:58:21 bde Exp $ + * $Id: subr_log.c,v 1.26 1998/01/24 02:54:34 eivind Exp $ */ /* @@ -243,7 +243,7 @@ logioctl(dev, com, data, flag, p) return (0); } -static log_devsw_installed = 0; +static int log_devsw_installed; #ifdef DEVFS static void *log_devfs_token; #endif diff --git a/sys/kern/tty_snoop.c b/sys/kern/tty_snoop.c index 7bfb635..4679f01 100644 --- a/sys/kern/tty_snoop.c +++ b/sys/kern/tty_snoop.c @@ -513,7 +513,7 @@ snppoll(dev, events, p) #ifdef DEVFS static void *snp_devfs_token[NSNP]; #endif -static snp_devsw_installed = 0; +static int snp_devsw_installed; static void snp_drvinit __P((void *unused)); static void diff --git a/sys/kern/tty_tty.c b/sys/kern/tty_tty.c index 080ecac..e5a9791 100644 --- a/sys/kern/tty_tty.c +++ b/sys/kern/tty_tty.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)tty_tty.c 8.2 (Berkeley) 9/23/93 - * $Id: tty_tty.c,v 1.21 1997/12/05 19:55:39 bde Exp $ + * $Id: tty_tty.c,v 1.22 1998/01/24 02:54:35 eivind Exp $ */ /* @@ -177,7 +177,7 @@ cttypoll(dev, events, p) return (VOP_POLL(ttyvp, events, p->p_ucred, p)); } -static ctty_devsw_installed = 0; +static int ctty_devsw_installed; #ifdef DEVFS static void *ctty_devfs_token; #endif |