2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>

* librpc/include/rpc/xdr.h: Cosmetics from freebsd.
This commit is contained in:
Ralf Corsepius
2010-05-27 04:09:05 +00:00
parent fa1019f1f1
commit e018fe01ec
2 changed files with 8 additions and 4 deletions

View File

@@ -1,3 +1,7 @@
2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/include/rpc/xdr.h: Cosmetics from freebsd.
2010-05-26 Ralf Corsépius <ralf.corsepius@rtems.org> 2010-05-26 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/rpc/clnt_udp.c: Cosmetics from freebsd. * librpc/src/rpc/clnt_udp.c: Cosmetics from freebsd.

View File

@@ -102,14 +102,14 @@ enum xdr_op {
*/ */
typedef struct __rpc_xdr { typedef struct __rpc_xdr {
enum xdr_op x_op; /* operation; fast additional param */ enum xdr_op x_op; /* operation; fast additional param */
struct xdr_ops { const struct xdr_ops {
/* get a long from underlying stream */ /* get a long from underlying stream */
bool_t (*x_getlong)(struct __rpc_xdr *, long *); bool_t (*x_getlong)(struct __rpc_xdr *, long *);
/* put a long to underlying stream */ /* put a long to " */
bool_t (*x_putlong)(struct __rpc_xdr *, const long *); bool_t (*x_putlong)(struct __rpc_xdr *, const long *);
/* get some bytes from underlying stream */ /* get some bytes from " */
bool_t (*x_getbytes)(struct __rpc_xdr *, char *, u_int); bool_t (*x_getbytes)(struct __rpc_xdr *, char *, u_int);
/* put some bytes to underlying stream */ /* put some bytes to " */
bool_t (*x_putbytes)(struct __rpc_xdr *, const char *, u_int); bool_t (*x_putbytes)(struct __rpc_xdr *, const char *, u_int);
/* returns bytes off from beginning */ /* returns bytes off from beginning */
u_int (*x_getpostn)(struct __rpc_xdr *); u_int (*x_getpostn)(struct __rpc_xdr *);