diff options
author | Jake Burkholder <jake@FreeBSD.org> | 2000-05-23 20:41:01 +0000 |
---|---|---|
committer | Jake Burkholder <jake@FreeBSD.org> | 2000-05-23 20:41:01 +0000 |
commit | 740a1973a62eaa8e1dc23e22f84dacb3346d303a (patch) | |
tree | acf054a865eef37380f5ac3d3c07766b5bb234b0 /lib/libstand | |
parent | b4183771fd8ab7a5946fd38df04c1e24b1268bea (diff) | |
download | src-740a1973a62eaa8e1dc23e22f84dacb3346d303a.tar.gz src-740a1973a62eaa8e1dc23e22f84dacb3346d303a.zip |
Change the way that the queue(3) structures are declared; don't assume that
the type argument to *_HEAD and *_ENTRY is a struct.
Suggested by: phk
Reviewed by: phk
Approved by: mdodd
Notes
Notes:
svn path=/head/; revision=60833
Diffstat (limited to 'lib/libstand')
-rw-r--r-- | lib/libstand/if_ether.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libstand/if_ether.h b/lib/libstand/if_ether.h index a9bc89191bb4..ada2815021a1 100644 --- a/lib/libstand/if_ether.h +++ b/lib/libstand/if_ether.h @@ -33,6 +33,8 @@ * SUCH DAMAGE. * * @(#)if_ether.h 8.1 (Berkeley) 6/10/93 + * + * $FreeBSD$ */ /* @@ -120,12 +122,12 @@ struct arpcom { struct ifnet ac_if; /* network-visible interface */ u_int8_t ac_enaddr[ETHER_ADDR_LEN]; /* ethernet hardware address */ char ac__pad[2]; /* be nice to m68k ports */ - LIST_HEAD(, ether_multi) ac_multiaddrs; /* list of ether multicast addrs */ + LIST_HEAD(, struct ether_multi) ac_multiaddrs; /* list of ether multicast addrs */ int ac_multicnt; /* length of ac_multiaddrs list */ }; struct llinfo_arp { - LIST_ENTRY(llinfo_arp) la_list; + LIST_ENTRY(struct llinfo_arp) la_list; struct rtentry *la_rt; struct mbuf *la_hold; /* last packet until resolved/timeout */ long la_asked; /* last time we QUERIED for this addr */ @@ -179,7 +181,7 @@ struct ether_multi { u_int8_t enm_addrhi[ETHER_ADDR_LEN]; /* high or only address of range */ struct arpcom *enm_ac; /* back pointer to arpcom */ u_int enm_refcount; /* no. claims to this addr/range */ - LIST_ENTRY(ether_multi) enm_list; + LIST_ENTRY(struct ether_multi) enm_list; }; /* |