openafs/tests/rpctestlib
Cheyenne Wills 4364479209 Change AFS*_LINUXnn_ENV to AFS*_LINUX_ENV
The minimum Linux kernel that is now supported is linux-2.6.18.  The
Linux versioned preprocessor macros AFS_*LINUXnn_ENV are no longer
needed to distinguish the different levels of Linux and can be merged
into just a single set of macros.

Perform a global change of _LINUX\d+_ENV to _LINUX_ENV. e.g.
   AFS_LINUX24_ENV       -> AFS_LINUX_ENV
   AFS_USR_LINUX24_ENV   -> AFS_USR_LINUX_ENV
   AFS_AMD64_LINUX20_ENV -> AFS_AMD64_LINUX_ENV

Replace the multiple definitions for the versioned 'AFS*_LINUXnn_ENV'
with just single non-version definitions 'AFS*_LINUX_ENV'.

Apart from replacing the now-redundant #define directives and tidying up
a few comments at the close of a preprocessor block to match their
current form, this commit was done using a mechanical change of the
variable names and did not reduce preprocessor statements that could now
be combined or eliminated.  Nor does this commit remove dead code.  A
follow-up commit (Cleanup AFS_*LINUX_ENV usage) will handle these
changes.

The updates should have no functional changes.

Reviewed-on: https://gerrit.openafs.org/14387
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
(cherry picked from commit 6329a523f6)

[cwills@sinenomine.net] Conflicts due to:
   'afs: Set AFS_VFSFSID to a numerical value' is already in 1.8.x
   'Linux 5.15: Convert osi_Msg macro to a function' is already in 1.8.x
   'fsint: remove dead code' is not in 1.8.x (removes fsint/afsaux.c)
   'Remove rpctestlib' is not in 1.8.x (removes rpc_test_procs.c)

Change-Id: I19da50622f63db0fcad7acd834559c538e6030be
Reviewed-on: https://gerrit.openafs.org/14977
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
2022-08-04 12:41:43 -04:00
..
Makefile.in Remove src/mcas 2017-08-29 11:35:14 -04:00
NTMakefile libroken: Build on windows 2010-11-17 08:12:29 -08:00
rpc_test_cb_procs.c tests: modernize tests to compile in warning-as-errorland 2012-09-06 04:43:30 -07:00
rpc_test_main.c tests: modernize tests to compile in warning-as-errorland 2012-09-06 04:43:30 -07:00
rpc_test_procs.c Change AFS*_LINUXnn_ENV to AFS*_LINUX_ENV 2022-08-04 12:41:43 -04:00
rpc_test_procs.h tests: modernize tests to compile in warning-as-errorland 2012-09-06 04:43:30 -07:00