From: Tom Yu Date: Tue, 30 Jul 1996 23:27:17 +0000 (+0000) Subject: * clnt_generic.c, clnt_simple.c, clnt_tcp.c, clnt_udp.c, X-Git-Tag: krb5-1.0-beta7~215 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ec62ac0fd1c325f57e2f86f0a56ca2d71cd92918;p=krb5.git * clnt_generic.c, clnt_simple.c, clnt_tcp.c, clnt_udp.c, getrpcent.c, getrpcport.c, pmap_getmaps.c, svc_simple.c: Remove #include ; it's already included in rpc/types.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8867 dc483132-0cff-0310-8789-dd5450dbe970 --- 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 + + * rpc.h: Don't include netdb.h (rpc/types.h already includes it) + + * svc_auth_gssapi.c: #include before (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 ; it's already included in + rpc/types.h. + Mon Jul 29 22:02:47 1996 Sam Hartman * 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 #include #include -#include /* * 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 #include #include -#include #include 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 #include #include -#include #include #include 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 #endif -#include #include #include 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 #include #include -#include #include #include 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 #include -#include #include 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 #include #include -#include #include #include #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 #include #include -#include static struct proglst { char *(*p_progname)();