Print this page
7127 remove -Wno-missing-braces from Makefile.uts
@@ -452,29 +452,29 @@
* const struct in6_addr IN6ADDR_LOOPBACK_INIT;
*/
#ifdef _KERNEL
-#define IN6ADDR_ANY_INIT { 0, 0, 0, 0 }
+#define IN6ADDR_ANY_INIT {{{ 0, 0, 0, 0 }}}
#ifdef _BIG_ENDIAN
-#define IN6ADDR_LOOPBACK_INIT { 0, 0, 0, 0x00000001U }
+#define IN6ADDR_LOOPBACK_INIT {{{ 0, 0, 0, 0x00000001U }}}
#else /* _BIG_ENDIAN */
-#define IN6ADDR_LOOPBACK_INIT { 0, 0, 0, 0x01000000U }
+#define IN6ADDR_LOOPBACK_INIT {{{ 0, 0, 0, 0x01000000U }}}
#endif /* _BIG_ENDIAN */
#else
-#define IN6ADDR_ANY_INIT { 0, 0, 0, 0, \
+#define IN6ADDR_ANY_INIT {{{ 0, 0, 0, 0, \
0, 0, 0, 0, \
0, 0, 0, 0, \
- 0, 0, 0, 0 }
+ 0, 0, 0, 0 }}}
-#define IN6ADDR_LOOPBACK_INIT { 0, 0, 0, 0, \
+#define IN6ADDR_LOOPBACK_INIT {{{ 0, 0, 0, 0, \
0, 0, 0, 0, \
0, 0, 0, 0, \
- 0, 0, 0, 0x1U }
+ 0, 0, 0, 0x1U }}}
#endif /* _KERNEL */
/*
* RFC 2553 specifies the following macros. Their type is defined
* as "int" in the RFC but they only have boolean significance