From e018fe01ec73751ec5dbb5fba9f27cff34b5ce06 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 27 May 2010 04:09:05 +0000 Subject: =?UTF-8?q?2010-05-27=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * librpc/include/rpc/xdr.h: Cosmetics from freebsd. --- cpukit/librpc/include/rpc/xdr.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cpukit/librpc/include') 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 *); -- cgit v1.2.3