Rename XkbRMLVOSet to struct xkb_rule_names
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
diff --git a/include/X11/extensions/XKBcommon.h b/include/X11/extensions/XKBcommon.h
index 15c99ae..f622fb8 100644
--- a/include/X11/extensions/XKBcommon.h
+++ b/include/X11/extensions/XKBcommon.h
@@ -68,13 +68,13 @@ typedef unsigned char KeyCode;
typedef int Bool;
#endif
-typedef struct _XkbRMLVOSet {
+struct xkb_rule_names {
char * rules;
char * model;
char * layout;
char * variant;
char * options;
-} XkbRMLVOSet;
+};
#define XkbcAnyActionDataSize 18
struct xkb_any_action {
@@ -760,7 +760,7 @@ _X_EXPORT extern void
xkb_init_atoms(InternAtomFuncPtr intern, GetAtomValueFuncPtr get_atom_value);
_X_EXPORT extern struct xkb_desc *
-xkb_compile_keymap_from_rules(const XkbRMLVOSet *rmlvo);
+xkb_compile_keymap_from_rules(const struct xkb_rule_names *rules);
_X_EXPORT extern struct xkb_desc *
xkb_compile_keymap_from_components(const struct xkb_component_names * ktcsg);
diff --git a/src/xkbcomp/xkbcomp.c b/src/xkbcomp/xkbcomp.c
index b68e2b7..679b00b 100644
--- a/src/xkbcomp/xkbcomp.c
+++ b/src/xkbcomp/xkbcomp.c
@@ -136,7 +136,7 @@ out:
}
struct xkb_desc *
-xkb_compile_keymap_from_rules(const XkbRMLVOSet *rmlvo)
+xkb_compile_keymap_from_rules(const struct xkb_rule_names *rmlvo)
{
XkbRF_VarDefsRec defs;
struct xkb_component_names * names;
diff --git a/test/rulescomp.c b/test/rulescomp.c
index 2395daf..39e1a2d 100644
--- a/test/rulescomp.c
+++ b/test/rulescomp.c
@@ -33,7 +33,7 @@ authorization from the authors.
int main(int argc, char *argv[])
{
- XkbRMLVOSet rmlvo;
+ struct xkb_rule_names rmlvo;
struct xkb_desc * xkb;
/* Require rmlvo */