aboutsummaryrefslogtreecommitdiff
path: root/src/lib/rpc
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>1996-07-30 23:27:17 +0000
committerTom Yu <tlyu@mit.edu>1996-07-30 23:27:17 +0000
commitec62ac0fd1c325f57e2f86f0a56ca2d71cd92918 (patch)
treee59af71053285f6a2350fb8c3a06f9dab577d1aa /src/lib/rpc
parent24e156d8f5f2f5c5063ea9fe697e0b0d613075d0 (diff)
downloadkrb5-ec62ac0fd1c325f57e2f86f0a56ca2d71cd92918.zip
krb5-ec62ac0fd1c325f57e2f86f0a56ca2d71cd92918.tar.gz
krb5-ec62ac0fd1c325f57e2f86f0a56ca2d71cd92918.tar.bz2
* clnt_generic.c, clnt_simple.c, clnt_tcp.c, clnt_udp.c,
getrpcent.c, getrpcport.c, pmap_getmaps.c, svc_simple.c: Remove #include <netdb.h>; it's already included in rpc/types.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8867 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/rpc')
-rw-r--r--src/lib/rpc/ChangeLog12
-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, 12 insertions, 8 deletions
diff --git a/src/lib/rpc/ChangeLog b/src/lib/rpc/ChangeLog
index d128f38..24f519d 100644
--- a/src/lib/rpc/ChangeLog
+++ b/src/lib/rpc/ChangeLog
@@ -1,3 +1,15 @@
+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)
+
+ * svc_auth_gssapi.c: #include <rpc/rpc.h> before <sys/stat.h> (to
+ get sys/types.h.
+
+ * clnt_generic.c, clnt_simple.c, clnt_tcp.c, clnt_udp.c,
+ getrpcent.c, getrpcport.c, pmap_getmaps.c, svc_simple.c:
+ Remove #include <netdb.h>; it's already included in
+ rpc/types.h.
+
Mon Jul 29 22:02:47 1996 Sam Hartman <hartmans@tertius.mit.edu>
* configure.in: Determine whether netdb.h defines struct rpcent.
diff --git a/src/lib/rpc/clnt_generic.c b/src/lib/rpc/clnt_generic.c
index f111c2e..b877a82 100644
--- a/src/lib/rpc/clnt_generic.c
+++ b/src/lib/rpc/clnt_generic.c
@@ -36,7 +36,6 @@ 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 0d8f7a4..4d4eaa7 100644
--- a/src/lib/rpc/clnt_simple.c
+++ b/src/lib/rpc/clnt_simple.c
@@ -41,7 +41,6 @@ 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 c573897..04281de 100644
--- a/src/lib/rpc/clnt_tcp.c
+++ b/src/lib/rpc/clnt_tcp.c
@@ -53,7 +53,6 @@ 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 000b968..fb64f50 100644
--- a/src/lib/rpc/clnt_udp.c
+++ b/src/lib/rpc/clnt_udp.c
@@ -44,7 +44,6 @@ 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 e48d5b1..24ebf74 100644
--- a/src/lib/rpc/getrpcent.c
+++ b/src/lib/rpc/getrpcent.c
@@ -40,7 +40,6 @@ 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 d209a15..4b6a907 100644
--- a/src/lib/rpc/getrpcport.c
+++ b/src/lib/rpc/getrpcport.c
@@ -37,7 +37,6 @@ 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 472b2a4..e4521c0 100644
--- a/src/lib/rpc/pmap_getmaps.c
+++ b/src/lib/rpc/pmap_getmaps.c
@@ -43,7 +43,6 @@ 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 2a22e57..7773973 100644
--- a/src/lib/rpc/svc_simple.c
+++ b/src/lib/rpc/svc_simple.c
@@ -41,7 +41,6 @@ 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)();