diff options
| author | Tom Yu <tlyu@mit.edu> | 1996-07-30 23:27:17 +0000 |
|---|---|---|
| committer | Tom Yu <tlyu@mit.edu> | 1996-07-30 23:27:17 +0000 |
| commit | ec62ac0fd1c325f57e2f86f0a56ca2d71cd92918 (patch) | |
| tree | e59af71053285f6a2350fb8c3a06f9dab577d1aa /src/lib | |
| parent | 24e156d8f5f2f5c5063ea9fe697e0b0d613075d0 (diff) | |
| download | krb5-ec62ac0fd1c325f57e2f86f0a56ca2d71cd92918.tar.gz krb5-ec62ac0fd1c325f57e2f86f0a56ca2d71cd92918.tar.xz krb5-ec62ac0fd1c325f57e2f86f0a56ca2d71cd92918.zip | |
* 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')
| -rw-r--r-- | src/lib/rpc/ChangeLog | 12 | ||||
| -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, 12 insertions, 8 deletions
diff --git a/src/lib/rpc/ChangeLog b/src/lib/rpc/ChangeLog index d128f38e2..24f519d33 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 f111c2e14..b877a82ec 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 0d8f7a4df..4d4eaa74f 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 c573897f7..04281dea6 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 000b9683d..fb64f5004 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 e48d5b1e9..24ebf74e9 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 d209a1527..4b6a9078c 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 472b2a46d..e4521c062 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 2a22e5722..77739730b 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)(); |
