xkb: unexport XKBDEVICEINFO() and xkbDevicePrivateKeyRec

These aren't used by any drivers/modules, so no need to keep 'em exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-04-03 16:21:23 +02:00
parent db9f82ce2a
commit a07e572665
2 changed files with 5 additions and 6 deletions

View File

@ -211,12 +211,6 @@ typedef struct {
DeviceUnwrapProc unwrapProc; DeviceUnwrapProc unwrapProc;
} xkbDeviceInfoRec, *xkbDeviceInfoPtr; } xkbDeviceInfoRec, *xkbDeviceInfoPtr;
extern _X_EXPORT DevPrivateKeyRec xkbDevicePrivateKeyRec;
#define xkbDevicePrivateKey (&xkbDevicePrivateKeyRec)
#define XKBDEVICEINFO(dev) ((xkbDeviceInfoPtr)dixLookupPrivate(&(dev)->devPrivates, xkbDevicePrivateKey))
/***====================================================================***/ /***====================================================================***/
extern _X_EXPORT int XkbReqCode; extern _X_EXPORT int XkbReqCode;

View File

@ -12,6 +12,7 @@
#include "dix.h" #include "dix.h"
#include "input.h" #include "input.h"
#include "misc.h" #include "misc.h"
#include "privates.h"
#include "xkbsrv.h" #include "xkbsrv.h"
#include "xkbstr.h" #include "xkbstr.h"
@ -111,4 +112,8 @@ void XkbMergeLockedPtrBtns(DeviceIntPtr master);
void XkbFakeDeviceButton(DeviceIntPtr dev, int press, int button); void XkbFakeDeviceButton(DeviceIntPtr dev, int press, int button);
extern DevPrivateKeyRec xkbDevicePrivateKeyRec;
#define XKBDEVICEINFO(dev) ((xkbDeviceInfoPtr)dixLookupPrivate(&(dev)->devPrivates, &xkbDevicePrivateKeyRec))
#endif /* _XSERVER_XKBSRV_PRIV_H_ */ #endif /* _XSERVER_XKBSRV_PRIV_H_ */