(submit/xkb-devkey) xkb: drop xkbDevicePrivateKey define
It's only used exactly once, where we can easily write &xkbDevicePrivateKeyRec. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
2f86d267cc
commit
8b3af47995
|
@ -277,9 +277,7 @@ typedef struct {
|
|||
|
||||
extern _X_EXPORT DevPrivateKeyRec xkbDevicePrivateKeyRec;
|
||||
|
||||
#define xkbDevicePrivateKey (&xkbDevicePrivateKeyRec)
|
||||
|
||||
#define XKBDEVICEINFO(dev) ((xkbDeviceInfoPtr)dixLookupPrivate(&(dev)->devPrivates, xkbDevicePrivateKey))
|
||||
#define XKBDEVICEINFO(dev) ((xkbDeviceInfoPtr)dixLookupPrivate(&(dev)->devPrivates, &xkbDevicePrivateKeyRec))
|
||||
|
||||
/***====================================================================***/
|
||||
|
||||
|
|
Loading…
Reference in New Issue