diff options
author | Tom Yu <tlyu@mit.edu> | 1996-07-31 20:59:11 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 1996-07-31 20:59:11 +0000 |
commit | 8f7957cd00f42e58c4f8b69f435e7be1fa75a58a (patch) | |
tree | 6d8e97d4b72df7a96006e86725ffa715941732b6 /src/lib | |
parent | 45da0fdb6de5503cdedd631bddc3e53d026742c1 (diff) | |
download | krb5-8f7957cd00f42e58c4f8b69f435e7be1fa75a58a.tar.gz krb5-8f7957cd00f42e58c4f8b69f435e7be1fa75a58a.tar.xz krb5-8f7957cd00f42e58c4f8b69f435e7be1fa75a58a.zip |
* 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')
-rw-r--r-- | src/lib/rpc/ChangeLog | 10 | ||||
-rw-r--r-- | src/lib/rpc/clnt_generic.c | 1 | ||||
-rw-r--r-- | src/lib/rpc/clnt_simple.c | 1 | ||||
-rw-r--r-- | src/lib/rpc/clnt_tcp.c | 1 | ||||
-rw-r--r-- | src/lib/rpc/clnt_udp.c | 1 | ||||
-rw-r--r-- | src/lib/rpc/getrpcent.c | 1 | ||||
-rw-r--r-- | src/lib/rpc/getrpcport.c | 1 | ||||
-rw-r--r-- | src/lib/rpc/pmap_getmaps.c | 1 | ||||
-rw-r--r-- | src/lib/rpc/svc_simple.c | 1 |
9 files changed, 18 insertions, 0 deletions
diff --git a/src/lib/rpc/ChangeLog b/src/lib/rpc/ChangeLog index 24f519d332..3bb12bad01 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 b877a82ec0..f111c2e147 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 4d4eaa74fb..0d8f7a4df7 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 04281dea63..c573897f73 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 fb64f50048..000b9683df 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 24ebf74e90..e48d5b1e92 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 4b6a9078c0..d209a15274 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 e4521c0621..472b2a46db 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 77739730b4..2a22e57224 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)(); |