diff options
Diffstat (limited to 'include/linux/sunrpc/xdr.h')
-rw-r--r-- | include/linux/sunrpc/xdr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/sunrpc/xdr.h b/include/linux/sunrpc/xdr.h index a21cf5378c1d..9a21e8102c42 100644 --- a/include/linux/sunrpc/xdr.h +++ b/include/linux/sunrpc/xdr.h | |||
@@ -204,9 +204,10 @@ struct xdr_stream { | |||
204 | }; | 204 | }; |
205 | 205 | ||
206 | /* | 206 | /* |
207 | * This is the xdr_stream style generic XDR function. | 207 | * These are the xdr_stream style generic XDR encode and decode functions. |
208 | */ | 208 | */ |
209 | typedef void (*kxdreproc_t)(void *rqstp, struct xdr_stream *xdr, void *obj); | 209 | typedef void (*kxdreproc_t)(void *rqstp, struct xdr_stream *xdr, void *obj); |
210 | typedef int (*kxdrdproc_t)(void *rqstp, struct xdr_stream *xdr, void *obj); | ||
210 | 211 | ||
211 | extern void xdr_init_encode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p); | 212 | extern void xdr_init_encode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p); |
212 | extern __be32 *xdr_reserve_space(struct xdr_stream *xdr, size_t nbytes); | 213 | extern __be32 *xdr_reserve_space(struct xdr_stream *xdr, size_t nbytes); |