diff options
author | Alfred Perlstein <alfred@FreeBSD.org> | 2001-03-20 08:26:22 +0000 |
---|---|---|
committer | Alfred Perlstein <alfred@FreeBSD.org> | 2001-03-20 08:26:22 +0000 |
commit | edea2cc3914932bbd715c6e85583ae131f714bb3 (patch) | |
tree | 77654350a76cd63f6fec236a6a0ecda6e3fd4dcc /include/rpc/xdr.h | |
parent | 3e86de8d2c04502700113c82f1678e57f7f58974 (diff) | |
download | src-edea2cc3914932bbd715c6e85583ae131f714bb3.tar.gz src-edea2cc3914932bbd715c6e85583ae131f714bb3.zip |
Notes
Diffstat (limited to 'include/rpc/xdr.h')
-rw-r--r-- | include/rpc/xdr.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/rpc/xdr.h b/include/rpc/xdr.h index 90107ffc92ac..d38aa4989e6f 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 |