From e16424212e305260771d8c1bf465be1a5e73e590 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 19 May 2025 18:28:43 +0200 Subject: [PATCH] xfree86: unexport xf86PostButtonEventM() Not used by any external drivers, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/common/xf86Xinput.h | 3 --- hw/xfree86/common/xf86Xinput_priv.h | 3 +++ hw/xfree86/drivers/inputtest/xf86-input-inputtest.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/xfree86/common/xf86Xinput.h b/hw/xfree86/common/xf86Xinput.h index 6649a117f..e8a485536 100644 --- a/hw/xfree86/common/xf86Xinput.h +++ b/hw/xfree86/common/xf86Xinput.h @@ -134,9 +134,6 @@ extern _X_EXPORT void xf86PostButtonEventP(DeviceIntPtr device, int is_absolute, int first_valuator, int num_valuators, const int *valuators); -extern _X_EXPORT void xf86PostButtonEventM(DeviceIntPtr device, int is_absolute, - int button, int is_down, - const ValuatorMask *mask); extern _X_EXPORT void xf86PostKeyboardEvent(DeviceIntPtr device, unsigned int key_code, int is_down); extern _X_EXPORT void xf86PostTouchEvent(DeviceIntPtr dev, uint32_t touchid, diff --git a/hw/xfree86/common/xf86Xinput_priv.h b/hw/xfree86/common/xf86Xinput_priv.h index b6fc9836a..b9674900a 100644 --- a/hw/xfree86/common/xf86Xinput_priv.h +++ b/hw/xfree86/common/xf86Xinput_priv.h @@ -12,4 +12,7 @@ extern InputInfoPtr xf86InputDevs; int xf86NewInputDevice(InputInfoPtr pInfo, DeviceIntPtr *pdev, BOOL is_auto); InputInfoPtr xf86AllocateInput(void); +void xf86PostButtonEventM(DeviceIntPtr device, int is_absolute, int button, + int is_down, const ValuatorMask *mask); + #endif /* _XSERVER__XF86XINPUT_H */ diff --git a/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c b/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c index 52e58f13b..8f63aaef9 100644 --- a/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c +++ b/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c @@ -33,7 +33,7 @@ #include #include #include -#include +#include #include "xorgVersion.h" #include #include