aboutsummaryrefslogtreecommitdiff
path: root/include/rpc/xdr.h
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2016-03-04 22:03:38 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2016-03-04 22:03:38 +0000
commitd1bd689d10447480e88de0ef515cacaedb82794e (patch)
treee1b23c30792ff2b5bd91c18fb1221d477398b634 /include/rpc/xdr.h
parent5a6b5f3c69d79b2dafb840d2b06eeff7c19ec954 (diff)
downloadsrc-d1bd689d10447480e88de0ef515cacaedb82794e.tar.gz
src-d1bd689d10447480e88de0ef515cacaedb82794e.zip
Notes
Diffstat (limited to 'include/rpc/xdr.h')
-rw-r--r--include/rpc/xdr.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/include/rpc/xdr.h b/include/rpc/xdr.h
index 9456f70c19d6..93f1ee493b46 100644
--- a/include/rpc/xdr.h
+++ b/include/rpc/xdr.h
@@ -219,15 +219,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.