I would like to apply this patch:

Index: xdr.h
===================================================================
RCS file: /home/ncvs/src/include/rpc/xdr.h,v
retrieving revision 1.14
diff -u -r1.14 xdr.h
--- xdr.h       1999/12/29 05:00:44     1.14
+++ xdr.h       2000/06/16 17:05:09
@@ -128,14 +128,14 @@
  * 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
-/*
- * XXX can't actually prototype it, because some take two args!!!
- */
-typedef        bool_t (*xdrproc_t) __P((/* XDR *, void *, u_int */));
+typedef        bool_t (*xdrproc_t) __P((XDR *, ...));
 #endif
 
 /*

Does anyone forsee any difficulties? Not doing this prevents a product
I work on from compiling. gcc complains about the number of arguments
because in C++ () prototypes a function that takes NO arguments.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to