mi: make CopyGetMasterEvent() static

It's not used outside mieq.c, so no need to keep it exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1727>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-04-22 17:09:11 +02:00 committed by Povilas Kanapickas
parent 6dbb957922
commit 12c507cd1f
2 changed files with 1 additions and 6 deletions

View File

@ -156,11 +156,6 @@ extern _X_EXPORT void mieqAddCallbackOnDrained(CallbackProcPtr callback,
extern _X_EXPORT void mieqRemoveCallbackOnDrained(CallbackProcPtr callback, extern _X_EXPORT void mieqRemoveCallbackOnDrained(CallbackProcPtr callback,
void *param); void *param);
extern DeviceIntPtr CopyGetMasterEvent(DeviceIntPtr /* sdev */ ,
InternalEvent * /* original */ ,
InternalEvent * /* copy */
);
/** /**
* Custom input event handler. If you need to process input events in some * Custom input event handler. If you need to process input events in some
* other way than the default path, register an input event handler for the * other way than the default path, register an input event handler for the

View File

@ -385,7 +385,7 @@ FixUpEventForMaster(DeviceIntPtr mdev, DeviceIntPtr sdev,
* @param copy The event after being copied * @param copy The event after being copied
* @return The master device or NULL if the device is a floating slave. * @return The master device or NULL if the device is a floating slave.
*/ */
DeviceIntPtr static DeviceIntPtr
CopyGetMasterEvent(DeviceIntPtr sdev, CopyGetMasterEvent(DeviceIntPtr sdev,
InternalEvent *original, InternalEvent *copy) InternalEvent *original, InternalEvent *copy)
{ {