diff options
author | alfred <alfred@FreeBSD.org> | 2002-02-05 23:43:43 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-02-05 23:43:43 +0000 |
commit | 568956257500195a80a63ba67f283e98c05c43c1 (patch) | |
tree | ca23ccb17e63c2c0a7eeb6827d3211f8f37a1089 /lib/libc/rpc/key_prot_xdr.c | |
parent | fbd5ea601d57ce0f9ffdf4197a2613cb7cbc8fe2 (diff) | |
download | FreeBSD-src-568956257500195a80a63ba67f283e98c05c43c1.zip FreeBSD-src-568956257500195a80a63ba67f283e98c05c43c1.tar.gz |
Fix cc -Wall, fix rcsid warnings, add missing prototypes,
change prototypes to be the same as in the original sun tirpc code.
Remove ()P macro in a file where the mayority had ()P already removed.
Add them if the mayority use ()P macros.
Submitted by: mbr
Requested by: bde
Diffstat (limited to 'lib/libc/rpc/key_prot_xdr.c')
-rw-r--r-- | lib/libc/rpc/key_prot_xdr.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libc/rpc/key_prot_xdr.c b/lib/libc/rpc/key_prot_xdr.c index 298a451..2329997 100644 --- a/lib/libc/rpc/key_prot_xdr.c +++ b/lib/libc/rpc/key_prot_xdr.c @@ -106,6 +106,8 @@ xdr_cryptkeyres(register XDR *xdrs, cryptkeyres *objp) if (!xdr_des_block(xdrs, &objp->cryptkeyres_u.deskey)) return (FALSE); break; + default: + break; } return (TRUE); } @@ -135,6 +137,8 @@ xdr_getcredres(register XDR *xdrs, getcredres *objp) if (!xdr_unixcred(xdrs, &objp->getcredres_u.cred)) return (FALSE); break; + default: + break; } return (TRUE); } @@ -163,6 +167,8 @@ xdr_key_netstres(register XDR *xdrs, key_netstres *objp) if (!xdr_key_netstarg(xdrs, &objp->key_netstres_u.knet)) return (FALSE); break; + default: + break; } return (TRUE); } |