From 37367d5e122e9dcea9eac04d588906ccceb6e772 Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Sat, 6 Aug 2022 15:31:36 -0600 Subject: [PATCH] libtt: remove OPT_LOCAL_MOUNT_TYPE, OS_VERSION - never used anywhere OS_VERSION was used with a '#if defined(sun)', but since it was never set anywhere it just omitted that block. If the block turns up to be broken on sun systems, then someone will fix it properly. --- cde/lib/tt/lib/tt_options.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/cde/lib/tt/lib/tt_options.h b/cde/lib/tt/lib/tt_options.h index 09631f10e..52114ad41 100644 --- a/cde/lib/tt/lib/tt_options.h +++ b/cde/lib/tt/lib/tt_options.h @@ -103,8 +103,6 @@ * OPT_LOCKF_MNTTAB - set to hold a lockf lock on MNTTAB while doing * getmntents. * - * OPT_LOCAL_MOUNT_TYPE -- mount type in mntent for local disks. - * * OPT_DEFINE_SIG_PF - define if SIG_PF (=type of pointer to signal * handler function) isn't defined in system includes * @@ -197,25 +195,18 @@ #define OPT_DEFINE_SIG_PF #endif -#ifdef __linux__ -#define OPT_LOCAL_MOUNT_TYPE "ext2fs" -#else -#define OPT_LOCAL_MOUNT_TYPE MNTTYPE_UFS -#endif - #define OPT_POSIX_SIGNAL #define OPT_CATGETS #define OPT_TAR_HAS_EXCLUDE_OPTION #if defined(_AIX) # undef OPT_BUG_RPCINTR -# undef OPT_LOCAL_MOUNT_TYPE # undef OPT_TAR_HAS_EXCLUDE_OPTION # define OPT_BUG_AIX # define OPT_GETDTABLESIZE /* # define OPT_XTHREADS 1 */ /* Defaulted by -DXTHREADS */ -#elif defined(sun) && (OS_VERSION >= 5) +#elif defined(sun) # define OPT_TLI # define OPT_SECURE_RPC # define OPT_SYSINFO