mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-04 13:34:38 +08:00
fixed "missing braces around initializer" for IN6ADDR_*_INIT macros
This commit is contained in:
parent
f01dc8cc34
commit
e59beeb625
@ -78,10 +78,10 @@ struct in6_addr {
|
|||||||
|
|
||||||
/** This macro can be used to initialize a variable of type struct in6_addr
|
/** This macro can be used to initialize a variable of type struct in6_addr
|
||||||
to the IPv6 wildcard address. */
|
to the IPv6 wildcard address. */
|
||||||
#define IN6ADDR_ANY_INIT {0,0,0,0}
|
#define IN6ADDR_ANY_INIT {{{0,0,0,0}}}
|
||||||
/** This macro can be used to initialize a variable of type struct in6_addr
|
/** This macro can be used to initialize a variable of type struct in6_addr
|
||||||
to the IPv6 loopback address. */
|
to the IPv6 loopback address. */
|
||||||
#define IN6ADDR_LOOPBACK_INIT {0,0,0,PP_HTONL(1)}
|
#define IN6ADDR_LOOPBACK_INIT {{{0,0,0,PP_HTONL(1)}}}
|
||||||
/** This variable is initialized by the system to contain the wildcard IPv6 address. */
|
/** This variable is initialized by the system to contain the wildcard IPv6 address. */
|
||||||
extern const struct in6_addr in6addr_any;
|
extern const struct in6_addr in6addr_any;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user