Commit 9605a069 authored by Chuck Lever's avatar Chuck Lever Committed by Trond Myklebust

SUNRPC: Trivial cleanups in include/linux/sunrpc/xdr.h

Clean up: Update the documenting comment, and fix some minor white
space issues.
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent bb8b27e5
/* /*
* include/linux/sunrpc/xdr.h * XDR standard data types and function declarations
* *
* Copyright (C) 1995-1997 Olaf Kirch <okir@monad.swb.de> * Copyright (C) 1995-1997 Olaf Kirch <okir@monad.swb.de>
*
* Based on:
* RFC 4506 "XDR: External Data Representation Standard", May 2006
*/ */
#ifndef _SUNRPC_XDR_H_ #ifndef _SUNRPC_XDR_H_
...@@ -62,7 +65,6 @@ struct xdr_buf { ...@@ -62,7 +65,6 @@ struct xdr_buf {
unsigned int buflen, /* Total length of storage buffer */ unsigned int buflen, /* Total length of storage buffer */
len; /* Length of XDR encoded message */ len; /* Length of XDR encoded message */
}; };
/* /*
...@@ -178,7 +180,7 @@ struct xdr_array2_desc { ...@@ -178,7 +180,7 @@ struct xdr_array2_desc {
}; };
extern int xdr_decode_array2(struct xdr_buf *buf, unsigned int base, extern int xdr_decode_array2(struct xdr_buf *buf, unsigned int base,
struct xdr_array2_desc *desc); struct xdr_array2_desc *desc);
extern int xdr_encode_array2(struct xdr_buf *buf, unsigned int base, extern int xdr_encode_array2(struct xdr_buf *buf, unsigned int base,
struct xdr_array2_desc *desc); struct xdr_array2_desc *desc);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment