aboutsummaryrefslogtreecommitdiff
path: root/src/lib/rpc
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>1996-07-31 20:59:11 +0000
committerTom Yu <tlyu@mit.edu>1996-07-31 20:59:11 +0000
commit8f7957cd00f42e58c4f8b69f435e7be1fa75a58a (patch)
tree6d8e97d4b72df7a96006e86725ffa715941732b6 /src/lib/rpc
parent45da0fdb6de5503cdedd631bddc3e53d026742c1 (diff)
downloadkrb5-8f7957cd00f42e58c4f8b69f435e7be1fa75a58a.zip
krb5-8f7957cd00f42e58c4f8b69f435e7be1fa75a58a.tar.gz
krb5-8f7957cd00f42e58c4f8b69f435e7be1fa75a58a.tar.bz2
* clnt_generic.c, clnt_simple.c, clnt_tcp.c, clnt_udp.c,
getrpcent.c, getrpcport.c, pmap_getmaps.c, svc_simple.c: Revert prior change due to netdb.h shuffling. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8878 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/rpc')
-rw-r--r--src/lib/rpc/ChangeLog10
-rw-r--r--src/lib/rpc/clnt_generic.c1
-rw-r--r--src/lib/rpc/clnt_simple.c1
-rw-r--r--src/lib/rpc/clnt_tcp.c1
-rw-r--r--src/lib/rpc/clnt_udp.c1
-rw-r--r--src/lib/rpc/getrpcent.c1
-rw-r--r--src/lib/rpc/getrpcport.c1
-rw-r--r--src/lib/rpc/pmap_getmaps.c1
-rw-r--r--src/lib/rpc/svc_simple.c1
9 files changed, 18 insertions, 0 deletions
diff --git a/src/lib/rpc/ChangeLog b/src/lib/rpc/ChangeLog
index 24f519d..3bb12ba 100644
--- a/src/lib/rpc/ChangeLog
+++ b/src/lib/rpc/ChangeLog
@@ -1,3 +1,13 @@
+Wed Jul 31 16:54:29 1996 Tom Yu <tlyu@mit.edu>
+
+ * types.hin: Remove #include <netdb.h> because it appears the only
+ reason for doing so was to get struct rpcent, and we're
+ getting that via <rpc/netdb.h>.
+
+ * clnt_generic.c, clnt_simple.c, clnt_tcp.c, clnt_udp.c,
+ getrpcent.c, getrpcport.c, pmap_getmaps.c, svc_simple.c:
+ Revert prior change due to netdb.h shuffling.
+
Tue Jul 30 18:59:17 1996 Tom Yu <tlyu@mit.edu>
* rpc.h: Don't include netdb.h (rpc/types.h already includes it)
diff --git a/src/lib/rpc/clnt_generic.c b/src/lib/rpc/clnt_generic.c
index b877a82..f111c2e 100644
--- a/src/lib/rpc/clnt_generic.c
+++ b/src/lib/rpc/clnt_generic.c
@@ -36,6 +36,7 @@ static char sccsid[] = "@(#)clnt_generic.c 1.4 87/08/11 (C) 1987 SMI";
#include <rpc/rpc.h>
#include <sys/socket.h>
#include <sys/errno.h>
+#include <netdb.h>
/*
* Generic client creation: takes (hostname, program-number, protocol) and
diff --git a/src/lib/rpc/clnt_simple.c b/src/lib/rpc/clnt_simple.c
index 4d4eaa7..0d8f7a4 100644
--- a/src/lib/rpc/clnt_simple.c
+++ b/src/lib/rpc/clnt_simple.c
@@ -41,6 +41,7 @@ static char sccsid[] = "@(#)clnt_simple.c 1.35 87/08/11 Copyr 1984 Sun Micro";
#include <stdio.h>
#include <rpc/rpc.h>
#include <sys/socket.h>
+#include <netdb.h>
#include <string.h>
static struct callrpc_private {
diff --git a/src/lib/rpc/clnt_tcp.c b/src/lib/rpc/clnt_tcp.c
index 04281de..c573897 100644
--- a/src/lib/rpc/clnt_tcp.c
+++ b/src/lib/rpc/clnt_tcp.c
@@ -53,6 +53,7 @@ static char sccsid[] = "@(#)clnt_tcp.c 1.37 87/10/05 Copyr 1984 Sun Micro";
#include <stdio.h>
#include <rpc/rpc.h>
#include <sys/socket.h>
+#include <netdb.h>
#include <errno.h>
#include <rpc/pmap_clnt.h>
diff --git a/src/lib/rpc/clnt_udp.c b/src/lib/rpc/clnt_udp.c
index fb64f50..000b968 100644
--- a/src/lib/rpc/clnt_udp.c
+++ b/src/lib/rpc/clnt_udp.c
@@ -44,6 +44,7 @@ static char sccsid[] = "@(#)clnt_udp.c 1.39 87/08/11 Copyr 1984 Sun Micro";
#if defined(sparc)
#include <sys/filio.h>
#endif
+#include <netdb.h>
#include <errno.h>
#include <rpc/pmap_clnt.h>
diff --git a/src/lib/rpc/getrpcent.c b/src/lib/rpc/getrpcent.c
index 24ebf74..e48d5b1 100644
--- a/src/lib/rpc/getrpcent.c
+++ b/src/lib/rpc/getrpcent.c
@@ -40,6 +40,7 @@ static char sccsid[] = "@(#)getrpcent.c 1.9 87/08/11 Copyr 1984 Sun Micro";
#include <sys/types.h>
#include <rpc/rpc.h>
#include <rpc/netdb.h>
+#include <netdb.h>
#include <string.h>
#include <sys/socket.h>
diff --git a/src/lib/rpc/getrpcport.c b/src/lib/rpc/getrpcport.c
index 4b6a907..d209a15 100644
--- a/src/lib/rpc/getrpcport.c
+++ b/src/lib/rpc/getrpcport.c
@@ -37,6 +37,7 @@ static char sccsid[] = "@(#)getrpcport.c 1.3 87/08/11 SMI";
#include <stdio.h>
#include <rpc/rpc.h>
+#include <netdb.h>
#include <sys/socket.h>
getrpcport(host, prognum, versnum, proto)
diff --git a/src/lib/rpc/pmap_getmaps.c b/src/lib/rpc/pmap_getmaps.c
index e4521c0..472b2a4 100644
--- a/src/lib/rpc/pmap_getmaps.c
+++ b/src/lib/rpc/pmap_getmaps.c
@@ -43,6 +43,7 @@ static char sccsid[] = "@(#)pmap_getmaps.c 1.10 87/08/11 Copyr 1984 Sun Micro";
#include <rpc/pmap_prot.h>
#include <rpc/pmap_clnt.h>
#include <sys/socket.h>
+#include <netdb.h>
#include <stdio.h>
#include <errno.h>
#ifdef OSF1
diff --git a/src/lib/rpc/svc_simple.c b/src/lib/rpc/svc_simple.c
index 7773973..2a22e57 100644
--- a/src/lib/rpc/svc_simple.c
+++ b/src/lib/rpc/svc_simple.c
@@ -41,6 +41,7 @@ static char sccsid[] = "@(#)svc_simple.c 1.18 87/08/11 Copyr 1984 Sun Micro";
#include <stdio.h>
#include <rpc/rpc.h>
#include <sys/socket.h>
+#include <netdb.h>
static struct proglst {
char *(*p_progname)();