xkb: move XkbRF_* defines into xkb/maprules.c

Only used there so no need to keep them in public API header.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1840>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-02-26 10:40:10 +01:00 committed by Marge Bot
parent 1a9592ea4b
commit b535fd7a4c
2 changed files with 5 additions and 6 deletions

View File

@ -67,11 +67,6 @@ typedef struct _XkbRF_Group {
char *words; char *words;
} XkbRF_GroupRec, *XkbRF_GroupPtr; } XkbRF_GroupRec, *XkbRF_GroupPtr;
#define XkbRF_PendingMatch (1L<<1)
#define XkbRF_Option (1L<<2)
#define XkbRF_Append (1L<<3)
#define XkbRF_Normal (1L<<4)
typedef struct _XkbRF_Rules { typedef struct _XkbRF_Rules {
unsigned short sz_rules; unsigned short sz_rules;
unsigned short num_rules; unsigned short num_rules;

View File

@ -47,7 +47,11 @@
#include "xkbstr.h" #include "xkbstr.h"
#include <xkbsrv.h> #include <xkbsrv.h>
/***====================================================================***/
#define XkbRF_PendingMatch (1L<<1)
#define XkbRF_Option (1L<<2)
#define XkbRF_Append (1L<<3)
#define XkbRF_Normal (1L<<4)
#define DFLT_LINE_SIZE 128 #define DFLT_LINE_SIZE 128