summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-01-29 16:13:08 +0000
committerpeter <peter@FreeBSD.org>2000-01-29 16:13:08 +0000
commitb3c16cb9b2f92b03697cc7a1006521ac17ec7d69 (patch)
tree2571696ee39a03a7892d8171e32ba08bd596e932
parent53ed6e8650db433c8c3ed7b95fc5c89b32c410e9 (diff)
downloadFreeBSD-src-b3c16cb9b2f92b03697cc7a1006521ac17ec7d69.zip
FreeBSD-src-b3c16cb9b2f92b03697cc7a1006521ac17ec7d69.tar.gz
Fix this so LINT compiles. There is no way this could have worked if
tested with LINT. I've put back netatm/kern_include.h and maked it with a fixme!, otherwise NETISR_ATM isn't defined as ATM_KERNEL isn't defined. Defining that exposes a whole bunch of other dependencies.. :-(
-rw-r--r--sys/net/intrq.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/net/intrq.c b/sys/net/intrq.c
index b2d6259..863b6c3 100644
--- a/sys/net/intrq.c
+++ b/sys/net/intrq.c
@@ -38,7 +38,7 @@
#include <net/intrq.h>
#ifdef __i386__
-#include <netatm/atm_if.h>
+#include <netatm/kern_include.h> /* XXX overkill, fixme! */
#endif
/*
@@ -58,10 +58,10 @@ const int ipxintrq_present;
const int natmintrq_present;
const int nsintrq_present;
-struct ifqueue at1intrq;
-struct ifqueue at2intrq;
+struct ifqueue atintrq1;
+struct ifqueue atintrq2;
#ifdef NETISR_ATM
-struct ifqueue atmintrq;
+struct ifqueue atm_intrq;
#endif
struct ifqueue ipintrq;
struct ifqueue ip6intrq;
@@ -83,7 +83,7 @@ static const struct {
{ AF_INET6, &ip6intrq, &ip6intrq_present, NETISR_IPV6 },
{ AF_IPX, &ipxintrq, &ipxintrq_present, NETISR_IPX },
{ AF_NATM, &natmintrq, &natmintrq_present, NETISR_NATM },
- { AF_APPLETALK, &at2intrq, &atintrq2_present, NETISR_ATALK },
+ { AF_APPLETALK, &atintrq2, &atintrq2_present, NETISR_ATALK },
{ AF_NS, &nsintrq, &nsintrq_present, NETISR_NS }
};
OpenPOWER on IntegriCloud