mirror of git://sourceware.org/git/glibc.git
Update.
* inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of braces to avoid warnings. (IN6ADDR_LOOPBACK_INIT): Likewise.
This commit is contained in:
parent
7aa6d20822
commit
f79973fab3
|
@ -1,5 +1,9 @@
|
|||
1999-08-06 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
|
||||
braces to avoid warnings.
|
||||
(IN6ADDR_LOOPBACK_INIT): Likewise.
|
||||
|
||||
* sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
|
||||
MSG_DONTWAIT).
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue