From 97e26532d5a4e523220465e4d86071c37925f38e Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Thu, 14 Mar 2024 17:49:01 +0100 Subject: [PATCH] xfree86: os-support: drop ununsed POSIX_TTY Found no evidence that this define is practically used anywhere, aymore. Web research just showed up a single ancient .c file (looks like an Wacom driver) from 1998. Xserver's git history doesn't tell when it actually had been introduced. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- hw/xfree86/os-support/xf86_OSlib.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/hw/xfree86/os-support/xf86_OSlib.h b/hw/xfree86/os-support/xf86_OSlib.h index 4896b9957..8d321dc01 100644 --- a/hw/xfree86/os-support/xf86_OSlib.h +++ b/hw/xfree86/os-support/xf86_OSlib.h @@ -134,7 +134,6 @@ extern _X_HIDDEN char xf86SolarisFbDev[PATH_MAX]; #define DEV_MEM "/dev/pmem" #endif #define CLEARDTR_SUPPORT -#define POSIX_TTY #endif /* SVR4 */ #endif /* (SYSV || SVR4) */ @@ -169,8 +168,6 @@ extern _X_HIDDEN char xf86SolarisFbDev[PATH_MAX]; #define CLEARDTR_SUPPORT #endif -#define POSIX_TTY - #endif /* __linux__ || __GLIBC__ */ /**************************************************************************/ @@ -183,7 +180,6 @@ extern _X_HIDDEN char xf86SolarisFbDev[PATH_MAX]; #include #define termio termios -#define POSIX_TTY #include