]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
xdr: Fix xdr_rpc* defines.
authorpfg <pfg@FreeBSD.org>
Fri, 4 Mar 2016 22:03:38 +0000 (22:03 +0000)
committerpfg <pfg@FreeBSD.org>
Fri, 4 Mar 2016 22:03:38 +0000 (22:03 +0000)
commitfe88d86157e589161808e9688c3c1173971cd975
treee1b23c30792ff2b5bd91c18fb1221d477398b634
parent142ebfb67e0d11187702c4c97724e63153cf9554
xdr: Fix xdr_rpc* defines.

The defines for xdr_rpc* in xdr.h are wrong. It could be
very well that Solaris did strip the '_t' from xdr_u_int32_t,
but Solaris has a xdr_u_int32 function, we don't have this.
So all of this defines will lead to an unresolved symbol.

This explains why we do not use these functions in FreeBSD
while they are used in Illumos/Solaris.

Obtained from: linux libtirpc (git 7864122e61ffe4db1aa8ace89117358a1e3a391b)
MFC after: 3 weeks
include/rpc/xdr.h