summaryrefslogtreecommitdiffstats
path: root/sys/net/if_tun.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/net/if_tun.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/net/if_tun.c')
-rw-r--r--sys/net/if_tun.c2
1 files changed, 1 insertions, 1 deletions
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