summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty_tty.c
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/kern/tty_tty.c
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/kern/tty_tty.c')
-rw-r--r--sys/kern/tty_tty.c4
1 files changed, 2 insertions, 2 deletions
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
OpenPOWER on IntegriCloud