aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Sayer <nsayer@FreeBSD.org>2000-07-21 14:49:09 +0000
committerNick Sayer <nsayer@FreeBSD.org>2000-07-21 14:49:09 +0000
commite9e8de06988690767c6dc9744edd2675299b2d59 (patch)
tree193069aeda540b08b2a3519473f9b9246ec388bf
parent949c2bcf27df3f3d7e84ec5a67c28bdbff5ab936 (diff)
Notes
-rw-r--r--include/rpc/xdr.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/rpc/xdr.h b/include/rpc/xdr.h
index 120925447d35..2ce9205422e6 100644
--- a/include/rpc/xdr.h
+++ b/include/rpc/xdr.h
@@ -128,14 +128,14 @@ typedef struct __rpc_xdr {
* The opaque pointer generally points to a structure of the data type
* to be decoded. If this pointer is 0, then the type routines should
* allocate dynamic storage of the appropriate size and return it.
- *
- * Sometimes there is a third argument, sometimes not. So for correct
- * prototyping, ... is required.
*/
#ifdef _KERNEL
typedef bool_t (*xdrproc_t) __P((XDR *, void *, u_int));
#else
-typedef bool_t (*xdrproc_t) __P((XDR *, ...));
+/*
+ * XXX can't actually prototype it, because some take two args!!!
+ */
+typedef bool_t (*xdrproc_t) __P((/* XDR *, void *, u_int */));
#endif
/*