Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet6 Don't nest structure definitions.



details:   https://anonhg.NetBSD.org/src/rev/1cedf2d0a1fd
branches:  trunk
changeset: 332044:1cedf2d0a1fd
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Sep 05 06:06:31 2014 +0000

description:
Don't nest structure definitions.

diffstat:

 sys/netinet6/in6_var.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r fa2747752ca7 -r 1cedf2d0a1fd sys/netinet6/in6_var.h
--- a/sys/netinet6/in6_var.h    Fri Sep 05 06:04:43 2014 +0000
+++ b/sys/netinet6/in6_var.h    Fri Sep 05 06:06:31 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: in6_var.h,v 1.70 2014/07/01 05:49:19 rtr Exp $ */
+/*     $NetBSD: in6_var.h,v 1.71 2014/09/05 06:06:31 matt Exp $        */
 /*     $KAME: in6_var.h,v 1.81 2002/06/08 11:16:51 itojun Exp $        */
 
 /*
@@ -98,6 +98,7 @@
        int ndefrouters;
 };
 
+LIST_HEAD(in6_multihead, in6_multi);
 struct in6_ifaddr {
        struct  ifaddr ia_ifa;          /* protocol-independent info */
 #define        ia_ifp          ia_ifa.ifa_ifp
@@ -108,7 +109,7 @@
        struct  sockaddr_in6 ia_prefixmask; /* prefix mask */
        u_int32_t ia_plen;              /* prefix length */
        struct  in6_ifaddr *ia_next;    /* next in6 list of IP6 addresses */
-       LIST_HEAD(in6_multihead, in6_multi) ia6_multiaddrs;
+       struct  in6_multihead ia6_multiaddrs;
                                        /* list of multicast addresses */
        int     ia6_flags;
 



Home | Main Index | Thread Index | Old Index