Revert "xkb: unexport XkbRF_RuleRec struct"

This reverts commit a82fa00835.

Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2046>
This commit is contained in:
Alan Coopersmith 2025-07-12 11:47:06 -07:00
parent 950462f6e6
commit 033936539b
2 changed files with 17 additions and 17 deletions

View file

@ -44,4 +44,21 @@ typedef struct _XkbRF_VarDefs {
const char *options; const char *options;
} XkbRF_VarDefsRec, *XkbRF_VarDefsPtr; } 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_ */ #endif /* _XKBRULES_H_ */

View file

@ -10,23 +10,6 @@
#include "include/xkbrules.h" #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 { typedef struct _XkbRF_Group {
int number; int number;
const char *name; const char *name;