diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-08-31 15:09:19 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-12-06 10:46:32 -0500 |
commit | 1e78957e0a8f882df6a3660b62f9aae441f54891 (patch) | |
tree | 6746e88e851053867bf49f68403c7b4da991ca85 /include/linux/sunrpc | |
parent | eb5f8545ffff98a11c6656d4d2106341ab69c57d (diff) |
SUNRPC: Clean up argument types in xdr.c
Converts various integer buffer offsets and sizes to unsigned integer.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r-- | include/linux/sunrpc/xdr.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/sunrpc/xdr.h b/include/linux/sunrpc/xdr.h index 9a527c364394..441b91dbafe5 100644 --- a/include/linux/sunrpc/xdr.h +++ b/include/linux/sunrpc/xdr.h | |||
@@ -139,10 +139,10 @@ xdr_adjust_iovec(struct kvec *iov, __be32 *p) | |||
139 | */ | 139 | */ |
140 | extern void xdr_shift_buf(struct xdr_buf *, size_t); | 140 | extern void xdr_shift_buf(struct xdr_buf *, size_t); |
141 | extern void xdr_buf_from_iov(struct kvec *, struct xdr_buf *); | 141 | extern void xdr_buf_from_iov(struct kvec *, struct xdr_buf *); |
142 | extern int xdr_buf_subsegment(struct xdr_buf *, struct xdr_buf *, int, int); | 142 | extern int xdr_buf_subsegment(struct xdr_buf *, struct xdr_buf *, unsigned int, unsigned int); |
143 | extern int xdr_buf_read_netobj(struct xdr_buf *, struct xdr_netobj *, int); | 143 | extern int xdr_buf_read_netobj(struct xdr_buf *, struct xdr_netobj *, unsigned int); |
144 | extern int read_bytes_from_xdr_buf(struct xdr_buf *, int, void *, int); | 144 | extern int read_bytes_from_xdr_buf(struct xdr_buf *, unsigned int, void *, unsigned int); |
145 | extern int write_bytes_to_xdr_buf(struct xdr_buf *, int, void *, int); | 145 | extern int write_bytes_to_xdr_buf(struct xdr_buf *, unsigned int, void *, unsigned int); |
146 | 146 | ||
147 | /* | 147 | /* |
148 | * Helper structure for copying from an sk_buff. | 148 | * Helper structure for copying from an sk_buff. |
@@ -160,8 +160,8 @@ extern int csum_partial_copy_to_xdr(struct xdr_buf *, struct sk_buff *); | |||
160 | extern ssize_t xdr_partial_copy_from_skb(struct xdr_buf *, unsigned int, | 160 | extern ssize_t xdr_partial_copy_from_skb(struct xdr_buf *, unsigned int, |
161 | skb_reader_t *, skb_read_actor_t); | 161 | skb_reader_t *, skb_read_actor_t); |
162 | 162 | ||
163 | extern int xdr_encode_word(struct xdr_buf *, int, u32); | 163 | extern int xdr_encode_word(struct xdr_buf *, unsigned int, u32); |
164 | extern int xdr_decode_word(struct xdr_buf *, int, u32 *); | 164 | extern int xdr_decode_word(struct xdr_buf *, unsigned int, u32 *); |
165 | 165 | ||
166 | struct xdr_array2_desc; | 166 | struct xdr_array2_desc; |
167 | typedef int (*xdr_xcode_elem_t)(struct xdr_array2_desc *desc, void *elem); | 167 | typedef int (*xdr_xcode_elem_t)(struct xdr_array2_desc *desc, void *elem); |