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/dev | |
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/dev')
-rw-r--r-- | sys/dev/snp/snp.c | 2 | ||||
-rw-r--r-- | sys/dev/speaker/spkr.c | 4 |
2 files changed, 3 insertions, 3 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) |