]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Replace <rpc/types.h> with <rx/xdr.h>
authorBenjamin Kaduk <kaduk@mit.edu>
Sat, 9 Dec 2017 17:37:59 +0000 (11:37 -0600)
committerBenjamin Kaduk <kaduk@mit.edu>
Sat, 10 Feb 2018 02:54:47 +0000 (21:54 -0500)
commit2b3df9b2f48dcbf3690e093000879b0f06c7e176
treeaaadc0066e5abb89892d5c589c168324a0562d72
parent833e2783a39367f3cebfb79f403a75752f81ab09
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 <buildbot@rampaginggeek.com>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
(cherry picked from commit e443a9fb67dbc29e6cc36661a4ac6e91af113f23)

Change-Id: I351e5c1e1223c49ca76e3d68c264ac1625abae60
Reviewed-on: https://gerrit.openafs.org/12894
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/afs/AIX/osi_misc.c
src/afs/AIX/osi_vnodeops.c
src/afs/afs_fetchstore.c
src/afs/afs_memcache.c
src/afs/afs_nfsdisp.c
src/afs/sysincludes.h
src/fsint/afsaux.c
src/rx/rx_kcommon.h
src/rx/xdr_rx.c
src/rxgen/rpc_main.c