summaryrefslogtreecommitdiff
path: root/conform/data/netdb.h-data
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-27 19:23:01 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-27 19:23:01 +0000
commit519f6620457d9f84d0125c0c7d01abebaae8efaa (patch)
tree28e2b20214b72aa7a633a5910dba7d2388620a78 /conform/data/netdb.h-data
parent74f331b3ccf81cf9404be03e62bde9efcc0878c2 (diff)
parent68e2fa8ed9dbf0edfdaed0310801e764c12af46e (diff)
Merge commit 'refs/top-bases/t/libc_cleanup' into t/libc_cleanup
Diffstat (limited to 'conform/data/netdb.h-data')
-rw-r--r--conform/data/netdb.h-data11
1 files changed, 6 insertions, 5 deletions
diff --git a/conform/data/netdb.h-data b/conform/data/netdb.h-data
index 63a42ae179..c6d8b70a0d 100644
--- a/conform/data/netdb.h-data
+++ b/conform/data/netdb.h-data
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG3
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG4
optional-type in_port_t
optional-type in_addr_t
@@ -15,7 +15,8 @@ type {struct netent}
element {struct netent} {char*} n_name
element {struct netent} {char**} n_aliases
element {struct netent} int n_addrtype
-element {struct netent} uint32_t n_net
+// Bug 21260: n_net has wrong type.
+xfail[alpha-linux]-element {struct netent} uint32_t n_net
type uint32_t
@@ -44,7 +45,7 @@ macro NO_RECOVERY
macro TRY_AGAIN
#endif
-#if !defined XPG4 && !defined UNIX98
+#if !defined XPG42 && !defined UNIX98
type {struct addrinfo}
element {struct addrinfo} int ai_flags
element {struct addrinfo} int ai_family
@@ -85,7 +86,7 @@ function void endhostent (void)
function void endnetent (void)
function void endprotoent (void)
function void endservent (void)
-#if !defined XPG4 && !defined UNIX98
+#if !defined XPG42 && !defined UNIX98
function void freeaddrinfo (struct addrinfo*)
function {const char*} gai_strerror (int)
function int getaddrinfo (const char*, const char*, const struct addrinfo*, struct addrinfo**)
@@ -93,7 +94,7 @@ function int getaddrinfo (const char*, const char*, const struct addrinfo*, stru
function {struct hostent*} gethostbyaddr (const void*, socklen_t, int)
function {struct hostent*} gethostbyname (const char*)
function {struct hostent*} gethostent (void)
-#if !defined XPG4 && !defined UNIX98
+#if !defined XPG42 && !defined UNIX98
function int getnameinfo (const struct sockaddr*, socklen_t, char*, socklen_t, char*, socklen_t, int)
#endif
function {struct netent*} getnetbyaddr (uint32_t, int)