From fba8c702ba6aa8fac27682e0838fd744e197d54f Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Sat, 26 Sep 2009 22:13:49 -0700 Subject: [PATCH] Xi: CopyKeyClass is not static for XQuartz (cherry picked from commit 85d6402354cdf143c6490f2725744c2f08b5605b) --- Xi/exevents.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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;