From 0cb8a76a9f3ec89e26a6aef489a3a9cca990980e Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Thu, 14 Mar 2024 20:35:56 +0100 Subject: [PATCH] xfree86: os-support: drop obsolete Solaris specific LED defines Historical legacy: the LED ID defines have/had different naming across various platforms - for better portability of the keyboard driver, those have been aliased to BSD's naming scheme. Meanwhile, lots of ancient platforms have been died or moved to other drivers (eg. Linux went to either evdev or libinput and not supported by the xf86-input-keyboard driver anymore). The only remaining possible consumer is Solaris. But it has it's own dedicated code (sun_kbd.c in xf86-input-keyboard), which already using the Solaris' naming. Therefore, there's no actual consumer of them left, so we can drop them. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- hw/xfree86/os-support/xf86_OSlib.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/hw/xfree86/os-support/xf86_OSlib.h b/hw/xfree86/os-support/xf86_OSlib.h index 4afd7f86f..e15204cb4 100644 --- a/hw/xfree86/os-support/xf86_OSlib.h +++ b/hw/xfree86/os-support/xf86_OSlib.h @@ -151,11 +151,6 @@ extern _X_HIDDEN char xf86SolarisFbDev[PATH_MAX]; #undef STRING #undef LEFTALT #undef RIGHTALT - -#define LED_CAP LED_CAPS_LOCK -#define LED_NUM LED_NUM_LOCK -#define LED_SCR LED_SCROLL_LOCK -#define LED_COMP LED_COMPOSE #endif /* __sun */ #if !defined(VT_ACKACQ)