diff --git a/Xi/exevents.c b/Xi/exevents.c index 2673552ce..5e73bf3c2 100644 --- a/Xi/exevents.c +++ b/Xi/exevents.c @@ -192,7 +192,10 @@ XIGetDevice(xEvent* xE) * This code is basically the old SwitchCoreKeyboard. */ -static void +#ifndef XQUARTZ +static +#endif +void CopyKeyClass(DeviceIntPtr device, DeviceIntPtr master) { KeyClassPtr mk = master->key;