From d93fbc99166053b75c2eeb69b5cb603cfaf79ec0 Mon Sep 17 00:00:00 2001 From: jake Date: Tue, 23 May 2000 20:41:01 +0000 Subject: 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 --- sys/netinet6/in6_prefix.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/netinet6/in6_prefix.h') diff --git a/sys/netinet6/in6_prefix.h b/sys/netinet6/in6_prefix.h index fa5a0e3..daae4ed 100644 --- a/sys/netinet6/in6_prefix.h +++ b/sys/netinet6/in6_prefix.h @@ -31,8 +31,8 @@ struct rr_prefix { struct ifprefix rp_ifpr; - LIST_ENTRY(rr_prefix) rp_entry; - LIST_HEAD(rp_addrhead, rp_addr) rp_addrhead; + LIST_ENTRY(struct rr_prefix) rp_entry; + LIST_HEAD(rp_addrhead, struct rp_addr) rp_addrhead; struct sockaddr_in6 rp_prefix; /* prefix */ u_int32_t rp_vltime; /* advertised valid lifetime */ u_int32_t rp_pltime; /* advertised preferred lifetime */ @@ -63,7 +63,7 @@ struct rr_prefix { #define rp_rrf_decrprefd rp_flags.prf_rr.decrprefd struct rp_addr { - LIST_ENTRY(rp_addr) ra_entry; + LIST_ENTRY(struct rp_addr) ra_entry; struct in6_addr ra_ifid; struct in6_ifaddr *ra_addr; struct ra_flags { @@ -79,7 +79,7 @@ struct rp_addr { #define RR_INFINITE_LIFETIME 0xffffffff -LIST_HEAD(rr_prhead, rr_prefix); +LIST_HEAD(rr_prhead, struct rr_prefix); extern struct rr_prhead rr_prefix; -- cgit v1.1