summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--sunrpc/rpc/xdr.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0ad3b1539d..eaf38d2b4a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 1998-06-01  Ulrich Drepper  <drepper@cygnus.com>
 
+	* sunrpc/rpc/xdr.h (struct XDR): Don't mark xdr_ops element as const.
+
 	* sysdeps/i386/fpu/bits/mathinline.h: Use ((__unused__)) instead
 	of ((unused)).  Reported by Bruno Haible.
 
diff --git a/sunrpc/rpc/xdr.h b/sunrpc/rpc/xdr.h
index c4bf67197d..bf8c2c4081 100644
--- a/sunrpc/rpc/xdr.h
+++ b/sunrpc/rpc/xdr.h
@@ -115,7 +115,7 @@ typedef struct XDR XDR;
 struct XDR
   {
     enum xdr_op x_op;		/* operation; fast additional param */
-    const struct xdr_ops
+    struct xdr_ops
       {
 	bool_t (*x_getlong) __P ((XDR * __xdrs, long *__lp));
 	/* get a long from underlying stream */