summaryrefslogtreecommitdiffstats
path: root/sys/contrib
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-02-27 22:19:35 +0000
committerphk <phk@FreeBSD.org>2005-02-27 22:19:35 +0000
commit6fb2ef6eec9d3637f4436728c612ab502c89335d (patch)
tree39c7fde172b7234d490090fef4bac37190a356d4 /sys/contrib
parent86647b4b469f2825849feba3b5edbdcfcd9fb96e (diff)
downloadFreeBSD-src-6fb2ef6eec9d3637f4436728c612ab502c89335d.zip
FreeBSD-src-6fb2ef6eec9d3637f4436728c612ab502c89335d.tar.gz
Use dynamic major number allocation.
Diffstat (limited to 'sys/contrib')
-rw-r--r--sys/contrib/ipfilter/netinet/mlfk_ipl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/contrib/ipfilter/netinet/mlfk_ipl.c b/sys/contrib/ipfilter/netinet/mlfk_ipl.c
index 2644d24e..dc5a1c8 100644
--- a/sys/contrib/ipfilter/netinet/mlfk_ipl.c
+++ b/sys/contrib/ipfilter/netinet/mlfk_ipl.c
@@ -103,7 +103,6 @@ SYSCTL_INT(_net_inet_ipf, OID_AUTO, fr_minttl, CTLFLAG_RW, &fr_minttl, 0, "");
SYSCTL_INT(_net_inet_ipf, OID_AUTO, fr_minttllog, CTLFLAG_RW,
&fr_minttllog, 0, "");
-#define CDEV_MAJOR 79
static struct cdevsw ipl_cdevsw = {
.d_version = D_VERSION,
.d_flags = 0,
@@ -112,7 +111,6 @@ static struct cdevsw ipl_cdevsw = {
.d_read = iplread,
.d_ioctl = iplioctl,
.d_name = "ipl",
- .d_maj = CDEV_MAJOR,
};
#if (__FreeBSD_version >= 500000)
OpenPOWER on IntegriCloud