summaryrefslogtreecommitdiff
path: root/src/lib/libc
diff options
context:
space:
mode:
authorderaadt <>1996-04-24 12:55:31 +0000
committerderaadt <>1996-04-24 12:55:31 +0000
commit4b59b22b3d453bca540a36c284fc8cf26697ee9d (patch)
tree083bcab08614b2214fa8da060dda6e1f5ac78c40 /src/lib/libc
parent83fa873dce1a7d0a9a23de76faf3817f44278e9b (diff)
downloadopenbsd-4b59b22b3d453bca540a36c284fc8cf26697ee9d.tar.gz
openbsd-4b59b22b3d453bca540a36c284fc8cf26697ee9d.tar.bz2
openbsd-4b59b22b3d453bca540a36c284fc8cf26697ee9d.zip
yp_prot.h lies -> use yp.h (from yp.x) instead, change lots of structure
accesses to match. change xdr_domainname() and some other functions to take "char **" instead of "char *", as rpcgen intended -- helps programs linking against rpcgen output of yp.x. yp_all() should not free it's return value. split xdryp.c and yplib.c into ~20 files so binaries like "csh" need not link in functions like yp_maplist(). NIS+'s YP emulation code lacks YPPROC_ORDER... attempt to deal nicely.
Diffstat (limited to 'src/lib/libc')
-rw-r--r--src/lib/libc/net/gethostnamadr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libc/net/gethostnamadr.c b/src/lib/libc/net/gethostnamadr.c
index 6d8072bd79..a1fdba5f91 100644
--- a/src/lib/libc/net/gethostnamadr.c
+++ b/src/lib/libc/net/gethostnamadr.c
@@ -75,7 +75,7 @@ static char rcsid[] = "$NetBSD: gethostnamadr.c,v 1.13 1995/05/21 16:21:14 mycro
75#include <string.h> 75#include <string.h>
76#ifdef YP 76#ifdef YP
77#include <rpc/rpc.h> 77#include <rpc/rpc.h>
78#include <rpcsvc/yp_prot.h> 78#include <rpcsvc/yp.h>
79#include <rpcsvc/ypclnt.h> 79#include <rpcsvc/ypclnt.h>
80#endif 80#endif
81 81