diff options
Diffstat (limited to 'nis')
-rw-r--r-- | nis/Versions | 5 | ||||
-rw-r--r-- | nis/nss_nis/nis-hosts.c | 2 | ||||
-rw-r--r-- | nis/nss_nisplus/nisplus-hosts.c | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/nis/Versions b/nis/Versions index 8bcf9a8..427fd6b 100644 --- a/nis/Versions +++ b/nis/Versions @@ -95,7 +95,7 @@ libnss_nis { _nss_nis_setrpcent; _nss_nis_setservent; _nss_nis_setspent; } GLIBC_2.2 { - _nss_nis_getipnodebyname_r; _nss_nis_initgroups_dyn; + _nss_nis_initgroups_dyn; } } @@ -128,7 +128,4 @@ libnss_nisplus { _nss_nisplus_setpwent; _nss_nisplus_setrpcent; _nss_nisplus_setservent; _nss_nisplus_setspent; } - GLIBC_2.2 { - _nss_nisplus_getipnodebyname_r; - } } diff --git a/nis/nss_nis/nis-hosts.c b/nis/nss_nis/nis-hosts.c index ecb6987..58136f2 100644 --- a/nis/nss_nis/nis-hosts.c +++ b/nis/nss_nis/nis-hosts.c @@ -434,6 +434,7 @@ _nss_nis_gethostbyaddr_r (const void *addr, socklen_t addrlen, int af, return NSS_STATUS_SUCCESS; } +#if 0 enum nss_status _nss_nis_getipnodebyname_r (const char *name, int af, int flags, struct hostent *result, char *buffer, @@ -442,3 +443,4 @@ _nss_nis_getipnodebyname_r (const char *name, int af, int flags, return internal_gethostbyname2_r (name, af, result, buffer, buflen, errnop, herrnop, flags); } +#endif diff --git a/nis/nss_nisplus/nisplus-hosts.c b/nis/nss_nisplus/nisplus-hosts.c index cad8c73..8f723f3 100644 --- a/nis/nss_nisplus/nisplus-hosts.c +++ b/nis/nss_nisplus/nisplus-hosts.c @@ -416,6 +416,7 @@ _nss_nisplus_gethostbyname2_r (const char *name, int af, struct hostent *host, ((_res.options & RES_USE_INET6) ? AI_V4MAPPED : 0)); } +#if 0 enum nss_status _nss_nisplus_getipnodebyname_r (const char *name, int af, int flags, struct hostent *result, char *buffer, @@ -424,6 +425,7 @@ _nss_nisplus_getipnodebyname_r (const char *name, int af, int flags, return internal_gethostbyname2_r (name, af, result, buffer, buflen, errnop, herrnop, flags); } +#endif enum nss_status _nss_nisplus_gethostbyname_r (const char *name, struct hostent *host, |