diff options
author | Florian Weimer <fweimer@redhat.com> | 2016-04-28 11:51:02 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2016-04-28 13:56:38 +0200 |
commit | 687c1c0ce27de3a6852c1c02d321f65100d96c5d (patch) | |
tree | aa8a7ea2d7b4e64d6da3550935ce4a7934f56f3e /resolv/res_data.c | |
parent | 18b36f5dcfcb75096f804d2cf6b74bc6f27f9ad1 (diff) | |
download | glibc-687c1c0ce27de3a6852c1c02d321f65100d96c5d.tar.gz glibc-687c1c0ce27de3a6852c1c02d321f65100d96c5d.tar.xz glibc-687c1c0ce27de3a6852c1c02d321f65100d96c5d.zip |
resolv: Remove traces of ULTRIX support
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 |