diff options
Diffstat (limited to 'src/lib/rpc/rpc_prot.c')
-rw-r--r-- | src/lib/rpc/rpc_prot.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/rpc/rpc_prot.c b/src/lib/rpc/rpc_prot.c index 17e26b101d..b66d666f0d 100644 --- a/src/lib/rpc/rpc_prot.c +++ b/src/lib/rpc/rpc_prot.c @@ -6,23 +6,23 @@ * may copy or modify Sun RPC without charge, but are not authorized * to license or distribute it to anyone else except as part of a product or * program developed by the user. - * + * * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * + * * Sun RPC is provided with no support and without any obligation on the * part of Sun Microsystems, Inc. to assist in its use, correction, * modification or enhancement. - * + * * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC * OR ANY PART THEREOF. - * + * * In no event will Sun Microsystems, Inc. be liable for any lost revenue * or profits or other special, indirect and consequential damages, even if * Sun has been advised of the possibility of such damages. - * + * * Sun Microsystems, Inc. * 2550 Garcia Avenue * Mountain View, California 94043 @@ -78,7 +78,7 @@ xdr_des_block(XDR *xdrs, des_block *blkp) /* * XDR the MSG_ACCEPTED part of a reply message union */ -bool_t +bool_t xdr_accepted_reply(XDR *xdrs, struct accepted_reply *ar) { @@ -109,7 +109,7 @@ xdr_accepted_reply(XDR *xdrs, struct accepted_reply *ar) /* * XDR the MSG_DENIED part of a reply message union */ -bool_t +bool_t xdr_rejected_reply(XDR *xdrs, struct rejected_reply *rr) { @@ -141,7 +141,7 @@ bool_t xdr_replymsg(XDR *xdrs, struct rpc_msg *rmsg) { if ( - xdr_u_int32(xdrs, &(rmsg->rm_xid)) && + xdr_u_int32(xdrs, &(rmsg->rm_xid)) && xdr_enum(xdrs, (enum_t *)&(rmsg->rm_direction)) && (rmsg->rm_direction == REPLY) ) return (xdr_union(xdrs, (enum_t *)&(rmsg->rm_reply.rp_stat), @@ -209,7 +209,7 @@ accepted(enum accept_stat acpt_stat, struct rpc_err *error) error->re_lb.s2 = (int32_t)acpt_stat; } -static void +static void rejected(enum reject_stat rjct_stat, struct rpc_err *error) { |