summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sunrpc/rpc/xdr.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b665f3534d..fc96c3909c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Dec 17 08:53:40 1998 H.J. Lu <hjl@gnu.org>
+
+ * sunrpc/rpc/xdr.h (XDR_DESTROY): Add ';'.
+ (xdr_destroy): Likewise.
+
1998-12-17 Ulrich Drepper <drepper@cygnus.com>
* login/login.c: Determine pts/3 and terminal name if path is
diff --git a/sunrpc/rpc/xdr.h b/sunrpc/rpc/xdr.h
index a4c2747ad5..44e30dfabe 100644
--- a/sunrpc/rpc/xdr.h
+++ b/sunrpc/rpc/xdr.h
@@ -212,12 +212,12 @@ typedef bool_t (*xdrproc_t) __PMT ((XDR *, void *,...));
#define XDR_DESTROY(xdrs) \
do { \
if ((xdrs)->x_ops->x_destroy) \
- (*(xdrs)->x_ops->x_destroy)(xdrs) \
+ (*(xdrs)->x_ops->x_destroy)(xdrs); \
} while (0)
#define xdr_destroy(xdrs) \
do { \
if ((xdrs)->x_ops->x_destroy) \
- (*(xdrs)->x_ops->x_destroy)(xdrs) \
+ (*(xdrs)->x_ops->x_destroy)(xdrs); \
} while (0)
/*