diff options
author | Ezra Peisach <epeisach@mit.edu> | 2001-06-05 15:46:16 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 2001-06-05 15:46:16 +0000 |
commit | 18254e84b8f63ccfeb2f673e4cebba2135a298c4 (patch) | |
tree | 0a1d51b060d3ecd90ab103f6f39950404498c614 /src/lib/rpc/svc_tcp.c | |
parent | 48c955640085b84684d990b07e6496c999e8623f (diff) | |
download | krb5-18254e84b8f63ccfeb2f673e4cebba2135a298c4.zip krb5-18254e84b8f63ccfeb2f673e4cebba2135a298c4.tar.gz krb5-18254e84b8f63ccfeb2f673e4cebba2135a298c4.tar.bz2 |
* clnt_perror.c (clnt_spcreateerror): Enumerate missing cases in
switch.
* getrpcport.c: Include string.h for memmove() prototype and
pmap_clnt.h for pmap_getport() prototype.
* rpc_dtablesize.c (_gssrpc_rpc_dtablesize): Declare as returning int.
* get_myaddress.c (gssrpc_get_myaddress): Likewise.
* rpc_prot.c (gssrpc_xdr_accepted_reply, sunrpc_seterr_reply):
Enumerate missing cases for switch.
(rejected): Fix typo: RPC_VERMISMATCH -> RPC_MISMATCH for
enumerated switch.
* svc_auth.c: Add braces to svcauthsw[] initialization.
* svc_simple.c: Include pmap_clnt.h for pmap_unset prototype.
* bindresvport.c, clnt_simple.c, clnt_tcp.c, clnt_udp.c, pmap_clnt.c,
pmap_getmaps.c, pmap_gtport.c, pmap_rmt.c, svc_tcp.c, svc_udp.c:
Include unistd.h for close() prototype.
* xdr.c (xdr_opaque): Specify internal buffer as ints.
(xdr_u_int32): Declare as returning bool_t.
* clnt_generic.c, rpc_callmsg.c, svc_auth_unix.c, xdr_mem.c:
Include string.h for memmove() prototype.
* xdr_rec.c: Include string.h for memmove() prototype. Add dummy
XDR_FREE cases for switches.
* xdr_reference.c (xdr_reference): Add XDR_ENCODE case. (gcc warning).
* xdr_array.c (xdr_array): Likewise.
* auth.h: Include gssrpc/xdr.h and provide prototype for
gssrpc_xdr_opaque_auth().
* auth_gssapi.h: Add prototypes for auth_gssapi_seal_seq() and
auth_gssapi_unseal_seq().
* clnt.h: Add prototype for _gssrpc_rpc_dtablesize().
* rpc.h: Add prototypes for gssrpc_get_myaddress() and
gssrpc_bindresvport().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13269 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/rpc/svc_tcp.c')
-rw-r--r-- | src/lib/rpc/svc_tcp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/rpc/svc_tcp.c b/src/lib/rpc/svc_tcp.c index cece276..6fe3b30 100644 --- a/src/lib/rpc/svc_tcp.c +++ b/src/lib/rpc/svc_tcp.c @@ -42,12 +42,14 @@ static char sccsid[] = "@(#)svc_tcp.c 1.21 87/08/11 Copyr 1984 Sun Micro"; */ #include <stdio.h> +#include <unistd.h> #include <gssrpc/rpc.h> #include <sys/socket.h> #include <errno.h> #include <stdlib.h> -/*extern bool_t abort();*. +/*extern bool_t abort(); extern errno; +*/ /* * Ops vector for TCP/IP based rpc service handle |