s/not sure why// and make these work :-)
This commit is contained in:
parent
9828247cf0
commit
7b923e1c00
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: xdr.h,v 1.29 2016/01/23 02:34:09 dholland Exp $ */
|
||||
/* $NetBSD: xdr.h,v 1.30 2017/08/16 08:35:48 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
|
||||
@ -213,15 +213,11 @@ xdr_putint32(XDR *xdrs, int32_t *ip)
|
||||
(*(xdrs)->x_ops->x_control)(xdrs, req, op)
|
||||
#define xdr_control(xdrs, req, op) XDR_CONTROL(xdrs, req, op)
|
||||
|
||||
/*
|
||||
* Solaris strips the '_t' from these types -- not sure why.
|
||||
* But, let's be compatible.
|
||||
*/
|
||||
#define xdr_rpcvers(xdrs, versp) xdr_u_int32(xdrs, versp)
|
||||
#define xdr_rpcprog(xdrs, progp) xdr_u_int32(xdrs, progp)
|
||||
#define xdr_rpcproc(xdrs, procp) xdr_u_int32(xdrs, procp)
|
||||
#define xdr_rpcprot(xdrs, protp) xdr_u_int32(xdrs, protp)
|
||||
#define xdr_rpcport(xdrs, portp) xdr_u_int32(xdrs, portp)
|
||||
#define xdr_rpcvers(xdrs, versp) xdr_u_int32_t(xdrs, versp)
|
||||
#define xdr_rpcprog(xdrs, progp) xdr_u_int32_t(xdrs, progp)
|
||||
#define xdr_rpcproc(xdrs, procp) xdr_u_int32_t(xdrs, procp)
|
||||
#define xdr_rpcprot(xdrs, protp) xdr_u_int32_t(xdrs, protp)
|
||||
#define xdr_rpcport(xdrs, portp) xdr_u_int32_t(xdrs, portp)
|
||||
|
||||
/*
|
||||
* Support struct for discriminated unions.
|
||||
|
Loading…
Reference in New Issue
Block a user