summaryrefslogtreecommitdiff
path: root/nis/nss_nis/nis-hosts.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-08-01 16:05:21 +0000
committerAndreas Jaeger <aj@suse.de>2000-08-01 16:05:21 +0000
commiteba8c0e2240c3d554617b77c9c798786393e8460 (patch)
tree3644bde510d4a288808b696bda91e2fb3a9f6a09 /nis/nss_nis/nis-hosts.c
parent4df4f8b14891b88d0da05dc93615fa9322324265 (diff)
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.
Diffstat (limited to 'nis/nss_nis/nis-hosts.c')
-rw-r--r--nis/nss_nis/nis-hosts.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nis/nss_nis/nis-hosts.c b/nis/nss_nis/nis-hosts.c
index ecb6987e3a..58136f2b26 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