summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/ChangeLog4
-rw-r--r--cpukit/librpc/include/rpc/xdr.h8
2 files changed, 8 insertions, 4 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 9bbb162c1a..177925ef52 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -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>
* librpc/src/rpc/clnt_udp.c: Cosmetics from freebsd.
diff --git a/cpukit/librpc/include/rpc/xdr.h b/cpukit/librpc/include/rpc/xdr.h
index a9141a5bfb..e5c04974d4 100644
--- a/cpukit/librpc/include/rpc/xdr.h
+++ b/cpukit/librpc/include/rpc/xdr.h
@@ -102,14 +102,14 @@ enum xdr_op {
*/
typedef struct __rpc_xdr {
enum xdr_op x_op; /* operation; fast additional param */
- struct xdr_ops {
+ const struct xdr_ops {
/* get a long from underlying stream */
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 *);
- /* get some bytes from underlying stream */
+ /* get some bytes from " */
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);
/* returns bytes off from beginning */
u_int (*x_getpostn)(struct __rpc_xdr *);