mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
xkb: move _XkbErrCode*() macros into private header
These are only used internally in xkb, so no need to keep them exported. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt, metux IT consult .
parent
ce807843a0
commit
d6fdb4e351
@@ -259,14 +259,6 @@ extern _X_EXPORT const char *XkbBinDirectory;
|
||||
|
||||
extern _X_EXPORT CARD32 xkbDebugFlags;
|
||||
|
||||
/* "a" is a "unique" numeric identifier that just defines which error
|
||||
* code statement it is. _XkbErrCode2(4, foo) means "this is the 4th error
|
||||
* statement in this function". lovely.
|
||||
*/
|
||||
#define _XkbErrCode2(a,b) ((XID)((((unsigned int)(a))<<24)|((b)&0xffffff)))
|
||||
#define _XkbErrCode3(a,b,c) _XkbErrCode2(a,(((unsigned int)(b))<<16)|(c))
|
||||
#define _XkbErrCode4(a,b,c,d) _XkbErrCode3(a,b,((((unsigned int)(c))<<8)|(d)))
|
||||
|
||||
#define Status int
|
||||
|
||||
extern _X_EXPORT void XkbUseMsg(void
|
||||
|
||||
Reference in New Issue
Block a user