diff options
Diffstat (limited to 'resolv/res_data.c')
-rw-r--r-- | resolv/res_data.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/resolv/res_data.c b/resolv/res_data.c index 3c196dee66..7e848e0945 100644 --- a/resolv/res_data.c +++ b/resolv/res_data.c @@ -186,23 +186,6 @@ hostalias(const char *name) { } libresolv_hidden_def (hostalias) -#ifdef ultrix -int -local_hostname_length(const char *hostname) { - int len_host, len_domain; - - if (!*_res.defdname) - res_init(); - len_host = strlen(hostname); - len_domain = strlen(_res.defdname); - if (len_host > len_domain && - !strcasecmp(hostname + len_host - len_domain, _res.defdname) && - hostname[len_host - len_domain - 1] == '.') - return (len_host - len_domain - 1); - return (0); -} -#endif /*ultrix*/ - #endif |