From a3d48de5f2b7eacf3193c60f0fb461912201210b Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Sat, 27 Oct 2007 21:35:31 +0300 Subject: [PATCH] XKB: Add more bits to xkbsrv.h Add the device private index, given we use that in a macro here, and also the prototype for xkbUnwrapProc, since that's also useful. --- include/xkbsrv.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/xkbsrv.h b/include/xkbsrv.h index 5edee539b..e43e8fde4 100644 --- a/include/xkbsrv.h +++ b/include/xkbsrv.h @@ -246,8 +246,11 @@ typedef struct device->public.realInputProc = oldprocs->realInputProc; \ device->unwrapProc = oldprocs->unwrapProc; +extern int xkbDevicePrivateIndex; #define XKBDEVICEINFO(dev) ((xkbDeviceInfoPtr) (dev)->devPrivates[xkbDevicePrivateIndex].ptr) +extern void xkbUnwrapProc(DeviceIntPtr, DeviceHandleProc, pointer); + /***====================================================================***/