From edea2cc3914932bbd715c6e85583ae131f714bb3 Mon Sep 17 00:00:00 2001 From: Alfred Perlstein Date: Tue, 20 Mar 2001 08:26:22 +0000 Subject: [PATCH] The TI-RPC spammed over a '#ifdef _KERNEL' hack for the xdrproc_t typedef revert the spammage Pointed out by: bde --- include/rpc/xdr.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/rpc/xdr.h b/include/rpc/xdr.h index 90107ffc92a..d38aa4989e6 100644 --- a/include/rpc/xdr.h +++ b/include/rpc/xdr.h @@ -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