summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/rpc/xdr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/rpc/xdr.h b/include/rpc/xdr.h
index f61fcd950df..cf21c1dc22f 100644
--- a/include/rpc/xdr.h
+++ b/include/rpc/xdr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: xdr.h,v 1.8 2005/01/08 19:17:39 krw Exp $ */
+/* $OpenBSD: xdr.h,v 1.9 2005/01/08 19:47:38 krw Exp $ */
/* $NetBSD: xdr.h,v 1.7 1995/04/29 05:28:06 cgd Exp $ */
/*
@@ -198,7 +198,7 @@ typedef bool_t (*xdrproc_t)(/* XDR *, void *, unsigned int */);
* no match, then a default routine may be called.
* If there is no match and no default routine it is an error.
*/
-#define NULL_xdrproc_t NULL
+#define NULL_xdrproc_t ((xdrproc_t)0)
struct xdr_discrim {
int value;
xdrproc_t proc;