diff --git a/mi/mi.h b/mi/mi.h index 10432a71a..d0c50a35d 100644 --- a/mi/mi.h +++ b/mi/mi.h @@ -156,11 +156,6 @@ extern _X_EXPORT void mieqAddCallbackOnDrained(CallbackProcPtr callback, extern _X_EXPORT void mieqRemoveCallbackOnDrained(CallbackProcPtr callback, void *param); -extern DeviceIntPtr CopyGetMasterEvent(DeviceIntPtr /* sdev */ , - InternalEvent * /* original */ , - InternalEvent * /* copy */ - ); - /** * 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 diff --git a/mi/mieq.c b/mi/mieq.c index 0d41324ee..bca6f8be7 100644 --- a/mi/mieq.c +++ b/mi/mieq.c @@ -385,7 +385,7 @@ FixUpEventForMaster(DeviceIntPtr mdev, DeviceIntPtr sdev, * @param copy The event after being copied * @return The master device or NULL if the device is a floating slave. */ -DeviceIntPtr +static DeviceIntPtr CopyGetMasterEvent(DeviceIntPtr sdev, InternalEvent *original, InternalEvent *copy) {