summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2006-05-21 11:29:26 +0000
committerume <ume@FreeBSD.org>2006-05-21 11:29:26 +0000
commit34c051a94d589fbdb8b8754251e065b3c7c41911 (patch)
tree5bde0e1f8171552c8931df8a0388d169b0ae48f2
parentdce008dac9e1172bb4b955ae91cf29b2e8429dd2 (diff)
downloadFreeBSD-src-34c051a94d589fbdb8b8754251e065b3c7c41911.zip
FreeBSD-src-34c051a94d589fbdb8b8754251e065b3c7c41911.tar.gz
Nuke some compatibility crufts of resolver for 6.X and earlier.
X-MFC after: never
-rw-r--r--lib/libc/resolv/Symbol.map3
-rw-r--r--lib/libc/resolv/h_errno.c3
-rw-r--r--lib/libc/resolv/res_state.c9
3 files changed, 0 insertions, 15 deletions
diff --git a/lib/libc/resolv/Symbol.map b/lib/libc/resolv/Symbol.map
index 7fcd0d9..068ce83 100644
--- a/lib/libc/resolv/Symbol.map
+++ b/lib/libc/resolv/Symbol.map
@@ -54,11 +54,8 @@ FBSD_1.0 {
p_secstodate;
__res_init;
__res_randomid;
- ___res;
- ___res_ext;
__h_errno;
__h_errno_set;
- __h_error;
h_errno;
res_init;
__res_findzonecut2;
diff --git a/lib/libc/resolv/h_errno.c b/lib/libc/resolv/h_errno.c
index 4d471b4..88d15ae 100644
--- a/lib/libc/resolv/h_errno.c
+++ b/lib/libc/resolv/h_errno.c
@@ -44,6 +44,3 @@ __h_errno_set(res_state res, int err)
{
h_errno = res->res_h_errno = err;
}
-
-/* binary backward compatibility for FreeBSD 5.x and 6.x */
-__weak_reference(__h_errno, __h_error);
diff --git a/lib/libc/resolv/res_state.c b/lib/libc/resolv/res_state.c
index b2742ce..59c9430 100644
--- a/lib/libc/resolv/res_state.c
+++ b/lib/libc/resolv/res_state.c
@@ -85,12 +85,3 @@ __res_state(void)
free(statp);
return (&_res);
}
-
-/* binary backward compatibility for FreeBSD 5.x and 6.x */
-struct __res_state_ext *
-___res_ext(void)
-{
- return (__res_state()->_u._ext.ext);
-}
-
-__weak_reference(__res_state, ___res);
OpenPOWER on IntegriCloud