]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(IN6ADDR_ANY_INIT): Add correct number of braces to avoid warnings.
authorUlrich Drepper <drepper@redhat.com>
Fri, 6 Aug 1999 23:24:02 +0000 (23:24 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 6 Aug 1999 23:24:02 +0000 (23:24 +0000)
(IN6ADDR_LOOPBACK_INIT): Likewise.

inet/netinet/in.h

index ee49fd04283a023c2d9c572ff681062217dc7c6c..eaad7e76c28546efc775064d1387b526f1ab4823 100644 (file)
@@ -177,8 +177,8 @@ struct in6_addr
 
 extern const struct in6_addr in6addr_any;        /* :: */
 extern const struct in6_addr in6addr_loopback;   /* ::1 */
-#define IN6ADDR_ANY_INIT { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 }
-#define IN6ADDR_LOOPBACK_INIT { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 }
+#define IN6ADDR_ANY_INIT { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } } }
+#define IN6ADDR_LOOPBACK_INIT { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 } } }
 
 #define INET_ADDRSTRLEN 16
 #define INET6_ADDRSTRLEN 46