diff options
author | bz <bz@FreeBSD.org> | 2009-06-10 09:07:05 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2009-06-10 09:07:05 +0000 |
commit | f5e2381b7d5343afbd217577f932b65b89253433 (patch) | |
tree | 5d608442c4939c3dfdf043dd503c1c7df2c6f33a /sys/net/if_fwsubr.c | |
parent | ddb9834c3c59bcc9abdda53584a7676e799b99e2 (diff) | |
download | FreeBSD-src-f5e2381b7d5343afbd217577f932b65b89253433.zip FreeBSD-src-f5e2381b7d5343afbd217577f932b65b89253433.tar.gz |
The llentry *lle is only used in cases of INET or INET6.
Put the variable declaration under proper #ifdefs.
In case variables are only needed for one of the two AFs
more them into proper scope.
Diffstat (limited to 'sys/net/if_fwsubr.c')
-rw-r--r-- | sys/net/if_fwsubr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/if_fwsubr.c b/sys/net/if_fwsubr.c index 4f30db4..d4dc457 100644 --- a/sys/net/if_fwsubr.c +++ b/sys/net/if_fwsubr.c @@ -88,7 +88,9 @@ firewire_output(struct ifnet *ifp, struct mbuf *m, struct sockaddr *dst, struct mbuf *mtail; int unicast, dgl, foff; static int next_dgl; +#if defined(INET) || defined(INET6) struct llentry *lle; +#endif #ifdef MAC error = mac_ifnet_check_transmit(ifp, m); |