From f79973fab37970cadd2994e497a475b1b27400a7 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 6 Aug 1999 23:23:02 +0000 Subject: Update. * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of braces to avoid warnings. (IN6ADDR_LOOPBACK_INIT): Likewise. --- inet/netinet/in.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inet/netinet/in.h') diff --git a/inet/netinet/in.h b/inet/netinet/in.h index fc8f169..10dae19 100644 --- a/inet/netinet/in.h +++ b/inet/netinet/in.h @@ -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 -- cgit v1.1