diff options
author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2003-10-23 16:11:46 +0000 |
---|---|---|
committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2003-10-23 16:11:46 +0000 |
commit | 27f9f4194284874846add5c03ee03c2ace7b059c (patch) | |
tree | dffde0528984b3603fc5885bd323c3c9ae951c00 /include/netdb.h | |
parent | 1c614e098de6eba93b7161238dac585168eb79c5 (diff) |
oops, I forget to diable EAI_ADDRFAMILY and EAI_NODATA.
Notes
Notes:
svn path=/head/; revision=121430
Diffstat (limited to 'include/netdb.h')
-rw-r--r-- | include/netdb.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/netdb.h b/include/netdb.h index cf557396887c..0fa4d16c57f8 100644 --- a/include/netdb.h +++ b/include/netdb.h @@ -149,13 +149,19 @@ struct addrinfo { /* * Error return codes from getaddrinfo() */ +#if 0 +/* obsoleted */ #define EAI_ADDRFAMILY 1 /* address family for hostname not supported */ +#endif #define EAI_AGAIN 2 /* temporary failure in name resolution */ #define EAI_BADFLAGS 3 /* invalid value for ai_flags */ #define EAI_FAIL 4 /* non-recoverable failure in name resolution */ #define EAI_FAMILY 5 /* ai_family not supported */ #define EAI_MEMORY 6 /* memory allocation failure */ +#if 0 +/* obsoleted */ #define EAI_NODATA 7 /* no address associated with hostname */ +#endif #define EAI_NONAME 8 /* hostname nor servname provided, or not known */ #define EAI_SERVICE 9 /* servname not supported for ai_socktype */ #define EAI_SOCKTYPE 10 /* ai_socktype not supported */ |