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 | |
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.
-rw-r--r-- | sys/dev/snp/snp.c | 2 | ||||
-rw-r--r-- | sys/dev/speaker/spkr.c | 4 | ||||
-rw-r--r-- | sys/i386/isa/spkr.c | 4 | ||||
-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 | ||||
-rw-r--r-- | sys/net/bpf.c | 4 | ||||
-rw-r--r-- | sys/net/if_tun.c | 2 |
8 files changed, 13 insertions, 13 deletions
diff --git a/sys/dev/snp/snp.c b/sys/dev/snp/snp.c index 7bfb635..4679f01 100644 --- a/sys/dev/snp/snp.c +++ b/sys/dev/snp/snp.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/dev/speaker/spkr.c b/sys/dev/speaker/spkr.c index ca53452..952d822 100644 --- a/sys/dev/speaker/spkr.c +++ b/sys/dev/speaker/spkr.c @@ -4,7 +4,7 @@ * v1.4 by Eric S. Raymond (esr@snark.thyrsus.com) Aug 1993 * modified for FreeBSD by Andrew A. Chernov <ache@astral.msk.su> * - * $Id: spkr.c,v 1.31 1998/01/24 02:54:25 eivind Exp $ + * $Id: spkr.c,v 1.32 1998/02/09 06:08:41 eivind Exp $ */ #include "speaker.h" @@ -584,7 +584,7 @@ spkrioctl(dev, cmd, cmdarg, flags, p) } -static spkr_devsw_installed = 0; +static int spkr_devsw_installed; static void spkr_drvinit(void *unused) diff --git a/sys/i386/isa/spkr.c b/sys/i386/isa/spkr.c index ca53452..952d822 100644 --- a/sys/i386/isa/spkr.c +++ b/sys/i386/isa/spkr.c @@ -4,7 +4,7 @@ * v1.4 by Eric S. Raymond (esr@snark.thyrsus.com) Aug 1993 * modified for FreeBSD by Andrew A. Chernov <ache@astral.msk.su> * - * $Id: spkr.c,v 1.31 1998/01/24 02:54:25 eivind Exp $ + * $Id: spkr.c,v 1.32 1998/02/09 06:08:41 eivind Exp $ */ #include "speaker.h" @@ -584,7 +584,7 @@ spkrioctl(dev, cmd, cmdarg, flags, p) } -static spkr_devsw_installed = 0; +static int spkr_devsw_installed; static void spkr_drvinit(void *unused) 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 diff --git a/sys/net/bpf.c b/sys/net/bpf.c index d118db6..1b8ae26 100644 --- a/sys/net/bpf.c +++ b/sys/net/bpf.c @@ -37,7 +37,7 @@ * * @(#)bpf.c 8.2 (Berkeley) 3/28/94 * - * $Id: bpf.c,v 1.36 1997/11/18 16:29:53 bde Exp $ + * $Id: bpf.c,v 1.37 1998/01/24 02:54:37 eivind Exp $ */ #include "bpfilter.h" @@ -1270,7 +1270,7 @@ bpfattach(ifp, dlt, hdrlen) static void *bpf_devfs_token[NBPFILTER]; #endif -static bpf_devsw_installed = 0; +static int bpf_devsw_installed; static void bpf_drvinit __P((void *unused)); static void diff --git a/sys/net/if_tun.c b/sys/net/if_tun.c index b109a06..b80fdd5 100644 --- a/sys/net/if_tun.c +++ b/sys/net/if_tun.c @@ -96,7 +96,7 @@ static struct cdevsw tun_cdevsw = { }; -static tun_devsw_installed = 0; +static int tun_devsw_installed; #ifdef DEVFS static void *tun_devfs_token[NTUN]; #endif |