Convert missed enum merge_mode variables
Signed-off-by: Ran Benita <ran234@gmail.com>master
parent
43bf4136c9
commit
6c3e0811d4
|
@ -118,7 +118,8 @@ ClearAliases(AliasInfo ** info_in)
|
|||
}
|
||||
|
||||
bool
|
||||
MergeAliases(AliasInfo ** into, AliasInfo ** merge, unsigned how_merge)
|
||||
MergeAliases(AliasInfo ** into, AliasInfo ** merge,
|
||||
enum merge_mode how_merge)
|
||||
{
|
||||
AliasInfo *tmp;
|
||||
KeyAliasDef def;
|
||||
|
|
|
@ -44,7 +44,7 @@ extern void
|
|||
ClearAliases(AliasInfo **info);
|
||||
|
||||
extern bool
|
||||
MergeAliases(AliasInfo **into, AliasInfo **merge, unsigned how_merge);
|
||||
MergeAliases(AliasInfo **into, AliasInfo **merge, enum merge_mode how_merge);
|
||||
|
||||
extern int
|
||||
ApplyAliases(struct xkb_keymap *keymap, AliasInfo **info);
|
||||
|
|
|
@ -45,7 +45,7 @@ typedef struct _SymInterpInfo
|
|||
typedef struct _GroupCompatInfo
|
||||
{
|
||||
unsigned file_id;
|
||||
unsigned char merge;
|
||||
enum merge_mode merge;
|
||||
bool defined;
|
||||
unsigned char real_mods;
|
||||
xkb_atom_t vmods;
|
||||
|
@ -392,7 +392,7 @@ static bool
|
|||
HandleIncludeCompatMap(IncludeStmt *stmt, struct xkb_keymap *keymap,
|
||||
CompatInfo *info)
|
||||
{
|
||||
unsigned newMerge;
|
||||
enum merge_mode newMerge;
|
||||
XkbFile *rtrn;
|
||||
CompatInfo included;
|
||||
bool haveSelf;
|
||||
|
|
|
@ -469,7 +469,7 @@ static bool
|
|||
HandleIncludeKeycodes(IncludeStmt *stmt, struct xkb_keymap *keymap,
|
||||
KeyNamesInfo *info)
|
||||
{
|
||||
unsigned newMerge;
|
||||
enum merge_mode newMerge;
|
||||
XkbFile *rtrn;
|
||||
KeyNamesInfo included;
|
||||
bool haveSelf;
|
||||
|
|
|
@ -335,7 +335,7 @@ static bool
|
|||
HandleIncludeKeyTypes(IncludeStmt *stmt, struct xkb_keymap *keymap,
|
||||
KeyTypesInfo *info)
|
||||
{
|
||||
unsigned newMerge;
|
||||
enum merge_mode newMerge;
|
||||
XkbFile *rtrn;
|
||||
KeyTypesInfo included;
|
||||
bool haveSelf;
|
||||
|
|
|
@ -48,7 +48,7 @@ bool
|
|||
ProcessIncludeFile(struct xkb_context *ctx,
|
||||
IncludeStmt * stmt,
|
||||
enum xkb_file_type file_type,
|
||||
XkbFile ** file_rtrn, unsigned *merge_rtrn)
|
||||
XkbFile ** file_rtrn, enum merge_mode *merge_rtrn)
|
||||
{
|
||||
FILE *file;
|
||||
XkbFile *rtrn, *mapToUse, *next;
|
||||
|
|
|
@ -116,6 +116,7 @@ extern int yylex(union YYSTYPE *val, struct YYLTYPE *loc, void *scanner);
|
|||
enum xkb_file_type file_type;
|
||||
char *str;
|
||||
xkb_atom_t sval;
|
||||
enum merge_mode merge;
|
||||
ParseCommon *any;
|
||||
ExprDef *expr;
|
||||
VarDef *var;
|
||||
|
@ -135,7 +136,7 @@ extern int yylex(union YYSTYPE *val, struct YYLTYPE *loc, void *scanner);
|
|||
%type <num> INTEGER FLOAT
|
||||
%type <str> IDENT KEYNAME STRING
|
||||
%type <ival> Number Integer Float SignedNumber
|
||||
%type <uval> MergeMode OptMergeMode
|
||||
%type <merge> MergeMode OptMergeMode
|
||||
%type <file_type> XkbCompositeType FileType
|
||||
%type <uval> DoodadType Flag Flags OptFlags KeyCode
|
||||
%type <str> KeyName MapName OptMapName KeySym
|
||||
|
|
|
@ -795,7 +795,7 @@ static bool
|
|||
HandleIncludeSymbols(IncludeStmt *stmt, struct xkb_keymap *keymap,
|
||||
SymbolsInfo *info)
|
||||
{
|
||||
unsigned newMerge;
|
||||
enum merge_mode newMerge;
|
||||
XkbFile *rtrn;
|
||||
SymbolsInfo included;
|
||||
bool haveSelf;
|
||||
|
|
|
@ -36,7 +36,7 @@ typedef struct _CommonInfo
|
|||
{
|
||||
unsigned short defined;
|
||||
unsigned file_id;
|
||||
unsigned char merge;
|
||||
enum merge_mode merge;
|
||||
struct _CommonInfo *next;
|
||||
} CommonInfo;
|
||||
|
||||
|
@ -66,7 +66,7 @@ ReportBadField(const char *type, const char *field, const char *name);
|
|||
extern bool
|
||||
ProcessIncludeFile(struct xkb_context *ctx,
|
||||
IncludeStmt *stmt, enum xkb_file_type file_type,
|
||||
XkbFile **file_rtrn, unsigned *merge_rtrn);
|
||||
XkbFile **file_rtrn, enum merge_mode *merge_rtrn);
|
||||
|
||||
extern bool
|
||||
FindNamedKey(struct xkb_keymap *keymap, unsigned long name,
|
||||
|
|
Loading…
Reference in New Issue