xkb: unexport XkbRF_RuleRec struct

Not used outside xkb, so no need to keep it 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:49:06 +01:00 committed by Marge Bot
parent 83c8a90a61
commit a82fa00835
2 changed files with 17 additions and 17 deletions

View File

@ -44,21 +44,4 @@ typedef struct _XkbRF_VarDefs {
const char *options;
} XkbRF_VarDefsRec, *XkbRF_VarDefsPtr;
typedef struct _XkbRF_Rule {
int number;
int layout_num;
int variant_num;
const char *model;
const char *layout;
const char *variant;
const char *option;
/* yields */
const char *keycodes;
const char *symbols;
const char *types;
const char *compat;
const char *geometry;
unsigned flags;
} XkbRF_RuleRec, *XkbRF_RulePtr;
#endif /* _XKBRULES_H_ */

View File

@ -10,6 +10,23 @@
#include "include/xkbrules.h"
typedef struct _XkbRF_Rule {
int number;
int layout_num;
int variant_num;
const char *model;
const char *layout;
const char *variant;
const char *option;
/* yields */
const char *keycodes;
const char *symbols;
const char *types;
const char *compat;
const char *geometry;
unsigned flags;
} XkbRF_RuleRec, *XkbRF_RulePtr;
typedef struct _XkbRF_Group {
int number;
const char *name;