Re: XDR porting problems

2000-04-14 Thread vns
Hi! Just try to use the next hack: #define xdrproc_t hack_xdrproc_t #include #undef xdrproc_t typedef bool_t (*xdrproc_t) __P((XDR *, void *, ...)); But probably it's better to fix this problem in the /usr/src/include/rpc/xdr.h file. With best regards, Vladimir Silyaev ---

XDR porting problems

2000-04-14 Thread Nick Sayer
in RELENG_4, /usr/src/include/rpc/xdr.h, there is... #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 */)); #endif This causes heartburn