summaryrefslogtreecommitdiffstats
path: root/sys/dev/speaker
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-02-20 13:46:58 +0000
committerbde <bde@FreeBSD.org>1998-02-20 13:46:58 +0000
commitbfefd71bbf1b93a547f07e251bfb03042a466128 (patch)
tree4ff6756d5d46e0a515b40448baba93374157873c /sys/dev/speaker
parent999552194c9310b6d3c3479bad9d10560e7a6efd (diff)
downloadFreeBSD-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/speaker')
-rw-r--r--sys/dev/speaker/spkr.c4
1 files changed, 2 insertions, 2 deletions
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)
OpenPOWER on IntegriCloud