xkb: unexport XkbRF_VarDefsRec struct

No used outside of xkb, so no need to keep it in public API header.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-02-26 10:51:05 +01:00
parent e0dd3c9c45
commit d5dc80aebe
3 changed files with 9 additions and 7 deletions

View File

@ -37,11 +37,4 @@ typedef struct _XkbRMLVOSet {
char *options; char *options;
} XkbRMLVOSet; } XkbRMLVOSet;
typedef struct _XkbRF_VarDefs {
const char *model;
const char *layout;
const char *variant;
const char *options;
} XkbRF_VarDefsRec, *XkbRF_VarDefsPtr;
#endif /* _XKBRULES_H_ */ #endif /* _XKBRULES_H_ */

View File

@ -11,6 +11,13 @@
#include "include/xkbrules.h" #include "include/xkbrules.h"
typedef struct _XkbRF_VarDefs {
const char *model;
const char *layout;
const char *variant;
const char *options;
} XkbRF_VarDefsRec, *XkbRF_VarDefsPtr;
typedef struct _XkbRF_Rule { typedef struct _XkbRF_Rule {
int number; int number;
int layout_num; int layout_num;

View File

@ -9,6 +9,8 @@
#include <X11/Xdefs.h> #include <X11/Xdefs.h>
#include <X11/Xmd.h> #include <X11/Xmd.h>
#include "xkb/xkbrules_priv.h"
#include "dix.h" #include "dix.h"
#include "input.h" #include "input.h"
#include "misc.h" #include "misc.h"