summaryrefslogtreecommitdiffstats
path: root/sys/net
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/net
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/net')
-rw-r--r--sys/net/bpf.c4
-rw-r--r--sys/net/if_tun.c2
2 files changed, 3 insertions, 3 deletions
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
OpenPOWER on IntegriCloud