summaryrefslogtreecommitdiff
path: root/inet
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-08-06 23:24:02 +0000
committerUlrich Drepper <drepper@redhat.com>1999-08-06 23:24:02 +0000
commit49e7737729049f6d1aa3977f234818ec86f46262 (patch)
tree1b7a45f57c331099c7f440fd00af7d6f5f5a0274 /inet
parentb005663f3aa4f72fb18d9934327a64682252fbb2 (diff)
(IN6ADDR_ANY_INIT): Add correct number of braces to avoid warnings.
(IN6ADDR_LOOPBACK_INIT): Likewise.
Diffstat (limited to 'inet')
-rw-r--r--inet/netinet/in.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/inet/netinet/in.h b/inet/netinet/in.h
index ee49fd0428..eaad7e76c2 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