summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2001-03-17 14:25:23 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2001-03-17 14:25:23 +0000
commit69b58b037cfbc3140dabff80fbe0d145a1d35091 (patch)
tree5420a9e11f5d12faafad9fc3f40c70aae19a42af /lib/libc
parente2e953a675a4b09174ac52244e43d8b20c5a38eb (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/getaddrinfo.35
-rw-r--r--lib/libc/net/getaddrinfo.c8
2 files changed, 0 insertions, 13 deletions
diff --git a/lib/libc/net/getaddrinfo.3 b/lib/libc/net/getaddrinfo.3
index 2c1c765d60b6..ef645c5aa95e 100644
--- a/lib/libc/net/getaddrinfo.3
+++ b/lib/libc/net/getaddrinfo.3
@@ -560,11 +560,6 @@ Invalid value for
.Fa hints .
.It Dv EAI_PROTOCOL
Resolved protocol is unknown.
-.It Dv EAI_RESNULL
-Argument
-.Fa res
-is
-.Dv NULL .
.It Dv EAI_MAX
Unknown error.
.El
diff --git a/lib/libc/net/getaddrinfo.c b/lib/libc/net/getaddrinfo.c
index 09cc623232d9..c54b2521d4fc 100644
--- a/lib/libc/net/getaddrinfo.c
+++ b/lib/libc/net/getaddrinfo.c
@@ -78,7 +78,6 @@
* diffs with other KAME platforms:
* - other KAME platforms already nuked FAITH ($GAI), but as FreeBSD
* 4.0-RELEASE supplies it, we still have the code here.
- * - EAI_RESNULL support
* - AI_ADDRCONFIG support is supplied
* - EDNS0 support is not available due to resolver differences
* - some of FreeBSD style (#define tabify and others)
@@ -266,9 +265,6 @@ static char *ai_errlist[] = {
"System error returned in errno", /* EAI_SYSTEM */
"Invalid value for hints", /* EAI_BADHINTS */
"Resolved protocol is unknown", /* EAI_PROTOCOL */
-#ifdef EAI_RESNULL
- "Argument res is NULL", /* EAI_RESNULL */
-#endif
"Unknown error", /* EAI_MAX */
};
@@ -382,10 +378,6 @@ getaddrinfo(hostname, servname, hints, res)
if (hostname == NULL && servname == NULL)
return EAI_NONAME;
-#ifdef EAI_RESNULL
- if (res == NULL)
- return EAI_RESNULL; /* xxx */
-#endif
if (hints) {
/* error check for hints */
if (hints->ai_addrlen || hints->ai_canonname ||