(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
							
								
									b88f2a5f35
								
							
						
					
					
						commit
						16b68b874f
					
				| 
						 | 
					@ -277,9 +277,7 @@ typedef struct {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
extern _X_EXPORT DevPrivateKeyRec xkbDevicePrivateKeyRec;
 | 
					extern _X_EXPORT DevPrivateKeyRec xkbDevicePrivateKeyRec;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define xkbDevicePrivateKey (&xkbDevicePrivateKeyRec)
 | 
					#define XKBDEVICEINFO(dev) ((xkbDeviceInfoPtr)dixLookupPrivate(&(dev)->devPrivates, &xkbDevicePrivateKeyRec))
 | 
				
			||||||
 | 
					 | 
				
			||||||
#define XKBDEVICEINFO(dev) ((xkbDeviceInfoPtr)dixLookupPrivate(&(dev)->devPrivates, xkbDevicePrivateKey))
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
/***====================================================================***/
 | 
					/***====================================================================***/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue