diff options
author | Robert Mustacchi <rm@joyent.com> | 2013-04-27 19:31:14 +0000 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2013-04-27 20:20:40 +0000 |
commit | 933b08887aa05e6cd9c8fa845b60319533d2b88d (patch) | |
tree | f3db97cb879c2779ed2d6e0518f6083ed1a4541e /usr/src/lib/nsswitch/dns | |
parent | 33913a2e553289d3cb6f7cfb9466cc3f808c9521 (diff) | |
download | illumos-joyent-933b08887aa05e6cd9c8fa845b60319533d2b88d.tar.gz |
OS-2178 cscope-fast clobber misses scanner.c
OS-2115 /etc/resolv.conf only handles a fixed number of DNS resolvers (fix debug)
Diffstat (limited to 'usr/src/lib/nsswitch/dns')
-rw-r--r-- | usr/src/lib/nsswitch/dns/common/dns_mt.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/usr/src/lib/nsswitch/dns/common/dns_mt.c b/usr/src/lib/nsswitch/dns/common/dns_mt.c index f17cd5170a..4af3f671c0 100644 --- a/usr/src/lib/nsswitch/dns/common/dns_mt.c +++ b/usr/src/lib/nsswitch/dns/common/dns_mt.c @@ -76,8 +76,6 @@ extern int *__joy_h_errno(void); extern int __joy_res_override_retry(int); static void __fallback_set_no_hosts(void); -static int *__fallback_h_errno(void); -static int __fallback_override_retry(int); static int __is_mt_safe(void); void (*set_no_hosts_fallback)(void) = __fallback_set_no_hosts; @@ -141,36 +139,6 @@ __is_mt_safe(void) { } -/* - * Return pointer to the global h_errno variable - */ -static int * -__fallback_h_errno(void) { - return (NULL); -} - - -/* - * This function is called when the resolver library doesn't provide its - * own function to establish an override retry. If we can get a pointer - * to the per-thread _res (i.e., set_res_retry != 0), we set the retries - * directly, and return the previous number of retries. Otherwise, there's - * nothing to do. - */ -static int -__fallback_override_retry(int retry) { - struct __res_state *res; - int old_retry = 0; - - if (set_res_retry != 0) { - res = set_res_retry(); - old_retry = res->retry; - res->retry = retry; - } - return (old_retry); -} - - static void __fallback_set_no_hosts(void) { } |