From eba8c0e2240c3d554617b77c9c798786393e8460 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 1 Aug 2000 16:05:21 +0000 Subject: Update. * conform/data/netdb.h-data: Remove getipnodebyaddr and friends. * include/netdb.h: Remove getipnodebyaddr and friends, leave constants in. * nis/Versions: Remove _nss_nis_getipnodebyname_r and _nss_nisplus_getipnodebyname_r. * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for now, getipnodebyname is deprecated. * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r): Likewise. * inet/Makefile (routines): Don't build getipnodebyaddr and friends. --- nis/nss_nisplus/nisplus-hosts.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nis/nss_nisplus') 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, -- cgit v1.1