From 6cd152f01aebbee482deacba49868cec5e9d1fa6 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Thu, 23 May 2024 19:53:52 +0200 Subject: drop compat with ancient xserver Relying on at least 1.18, which has XINPUT version 22.1. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- src/xf86Elo.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/xf86Elo.c b/src/xf86Elo.c index 758a198..cce3895 100644 --- a/src/xf86Elo.c +++ b/src/xf86Elo.c @@ -875,10 +875,8 @@ xf86EloControl(DeviceIntPtr dev, DBG(2, ErrorF("Done\n")); return Success; -#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) * 100 + GET_ABI_MINOR(ABI_XINPUT_VERSION) >= 1901 case DEVICE_ABORT: return Success; -#endif default: ErrorF("unsupported mode=%d\n", mode); @@ -942,11 +940,7 @@ xf86EloUninit(InputDriverPtr drv, xf86DeleteInput(pInfo, 0); } -static -#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 18 -const -#endif -char *default_options[] = { +static const char *default_options[] = { "BaudRate", "9600", "StopBits", "1", "DataBits", "8", -- cgit v1.2.3