The following commit has been merged in the openafs-stable-1_8_x branch: commit 2b3df9b2f48dcbf3690e093000879b0f06c7e176 Author: Benjamin Kaduk <ka...@mit.edu> Date: Sat Dec 9 11:37:59 2017 -0600
Replace <rpc/types.h> with <rx/xdr.h> Our in-tree xdr.h appears to have started life as a concatenation of rpc/types.h and rpc/xdr.h, and should include all the needed functionality. Indeed, commit 7293ddf325b149cae60d3abe7199d08f196bd2b9 even indicates that we expect to be using our in-tree XDR everywhere anyway, so the system XDR is superfluous. Note that afs/sysincludes.h (not afsincludes.h!) already includes rx/xdr.h ifndef AFS_LINUX22_ENV. This change should help systems running glibc 2.26 or newer, which has stopped providing the Sun RPC headers by default. While here remove some duplicate includes of rpc/types.h in the AIX-specific sources. The Solaris NFS translator bits cannot really be changed, since the system headers are used and have tight interdependencies. Update rxgen to not emit rpc/types.h inclusion. [mmeffie: squash 12801 to not emit rpc/types.h from rxgen] Reviewed-on: https://gerrit.openafs.org/12800 Tested-by: BuildBot <build...@rampaginggeek.com> Reviewed-by: Michael Meffie <mmef...@sinenomine.net> Reviewed-by: Benjamin Kaduk <ka...@mit.edu> (cherry picked from commit e443a9fb67dbc29e6cc36661a4ac6e91af113f23) Change-Id: I351e5c1e1223c49ca76e3d68c264ac1625abae60 Reviewed-on: https://gerrit.openafs.org/12894 Tested-by: BuildBot <build...@rampaginggeek.com> Reviewed-by: Mark Vitale <mvit...@sinenomine.net> Reviewed-by: Benjamin Kaduk <ka...@mit.edu> src/afs/AIX/osi_misc.c | 1 - src/afs/AIX/osi_vnodeops.c | 1 - src/afs/afs_fetchstore.c | 3 --- src/afs/afs_memcache.c | 3 --- src/afs/afs_nfsdisp.c | 1 - src/afs/sysincludes.h | 1 - src/fsint/afsaux.c | 1 - src/rx/rx_kcommon.h | 3 --- src/rx/xdr_rx.c | 2 -- src/rxgen/rpc_main.c | 5 ----- 10 files changed, 0 insertions(+), 21 deletions(-) -- OpenAFS Master Repository _______________________________________________ OpenAFS-cvs mailing list OpenAFS-cvs@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-cvs