mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-01 12:19:28 +00:00
Back out 1.15. It caused more harm than good. Something, however,
must be done to fix this situation. Submitted by: bde
This commit is contained in:
parent
949c2bcf27
commit
e9e8de0698
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=63725
@ -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
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user