diff options
author | Tom Yu <tlyu@mit.edu> | 2004-09-17 21:52:12 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 2004-09-17 21:52:12 +0000 |
commit | bd166d32666c29e0fe8769528e40ac2c675b7757 (patch) | |
tree | 2abfc82eef16ceca1894d9d4c008ab33e85b3a1d /src/lib/rpc/auth_none.c | |
parent | 1d86adfddba0d4378733e0ad32054308d7078f43 (diff) | |
download | krb5-bd166d32666c29e0fe8769528e40ac2c675b7757.tar.gz krb5-bd166d32666c29e0fe8769528e40ac2c675b7757.tar.xz krb5-bd166d32666c29e0fe8769528e40ac2c675b7757.zip |
* libgssrpc.exports: Don't export internals
* svc.c (svc_getreqset):
* svc_tcp.c (readtcp): Don't intersperse preprocessor
conditionals with braces.
* auth_gssapi.c, auth_gssapi_misc.c, auth_none.c:
* auth_unix.c, authunix_prot.c, bindresvport.c:
* clnt_generic.c, clnt_perror.c, clnt_raw.c
* clnt_simple.c, clnt_tcp.c, clnt_udp.c, get_myaddress.c:
* getrpcent.c, getrpcport.c, pmap_clnt.c:
* pmap_getmaps.c, pmap_getport.c, pmap_prot.c, pmap_prot2.c:
* pmap_rmt.c, rpc_callmsg.c, rpc_prot.c:
* svc.c, svc_auth.c, svc_auth_gss.c:
* svc_auth_gssapi.c, svc_auth_unix.c, svc_raw.c:
* svc_run.c, svc_simple.c, svc_tcp.c:
* svc_udp.c, xdr.c, xdr_alloc.c, xdr_array.c:
* xdr_float.c, xdr_mem.c, xdr_rec.c, xdr_reference.c:
* xdr_stdio.c: Protoize, to avoid potential problems when
fixed-width types are not ints on some platforms.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16768 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/rpc/auth_none.c')
-rw-r--r-- | src/lib/rpc/auth_none.c | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/src/lib/rpc/auth_none.c b/src/lib/rpc/auth_none.c index 0cc6d890e3..f4869aa6a3 100644 --- a/src/lib/rpc/auth_none.c +++ b/src/lib/rpc/auth_none.c @@ -72,7 +72,7 @@ static struct authnone_private { } *authnone_private; AUTH * -authnone_create() +authnone_create(void) { register struct authnone_private *ap = authnone_private; XDR xdr_stream; @@ -100,9 +100,7 @@ authnone_create() /*ARGSUSED*/ static bool_t -authnone_marshal(client, xdrs) - AUTH *client; - XDR *xdrs; +authnone_marshal(AUTH *client, XDR *xdrs) { register struct authnone_private *ap = authnone_private; @@ -114,16 +112,13 @@ authnone_marshal(client, xdrs) /*ARGSUSED*/ static void -authnone_verf(auth) - AUTH *auth; +authnone_verf(AUTH *auth) { } /*ARGSUSED*/ static bool_t -authnone_validate(auth, verf) - AUTH *auth; - struct opaque_auth *verf; +authnone_validate(AUTH *auth, struct opaque_auth *verf) { return (TRUE); @@ -131,9 +126,7 @@ authnone_validate(auth, verf) /*ARGSUSED*/ static bool_t -authnone_refresh(auth, msg) - AUTH *auth; - struct rpc_msg *msg; +authnone_refresh(AUTH *auth, struct rpc_msg *msg) { return (FALSE); @@ -141,8 +134,7 @@ authnone_refresh(auth, msg) /*ARGSUSED*/ static void -authnone_destroy(auth) - AUTH *auth; +authnone_destroy(AUTH *auth) { } |