1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

The TI-RPC spammed over a '#ifdef _KERNEL' hack for the xdrproc_t typedef

revert the spammage

Pointed out by: bde
This commit is contained in:
Alfred Perlstein 2001-03-20 08:26:22 +00:00
parent 3e86de8d2c
commit edea2cc391
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=74510

View File

@ -131,10 +131,15 @@ 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.
*
*/
#ifdef _KERNEL
typedef bool_t (*xdrproc_t) __P((XDR *, void *, u_int));
#else
/*
* XXX can't actually prototype it, because some take three args!!!
*/
typedef bool_t (*xdrproc_t) __P((/* XDR *, void *, u_int */));
#endif
/*
* Operations defined on a XDR handle