From 34c051a94d589fbdb8b8754251e065b3c7c41911 Mon Sep 17 00:00:00 2001 From: ume Date: Sun, 21 May 2006 11:29:26 +0000 Subject: Nuke some compatibility crufts of resolver for 6.X and earlier. X-MFC after: never --- lib/libc/resolv/Symbol.map | 3 --- lib/libc/resolv/h_errno.c | 3 --- lib/libc/resolv/res_state.c | 9 --------- 3 files changed, 15 deletions(-) (limited to 'lib/libc') 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); -- cgit v1.1