summaryrefslogtreecommitdiff
path: root/conform/data/netdb.h-data
diff options
context:
space:
mode:
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)