mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-03 03:24:39 +00:00
xkb: add a call to init an XkbRMLVOSet from const chars
Just forcing everything to const char* is not helpful, compiler warnings are supposed to warn about broken code. Forcing everything to const when it clearly isn't less than ideal. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
parent
6307d60dd5
commit
2fc38d1e29
5 changed files with 52 additions and 25 deletions
|
|
@ -30,11 +30,11 @@
|
|||
/***====================================================================***/
|
||||
|
||||
typedef struct _XkbRMLVOSet {
|
||||
const char *rules;
|
||||
const char *model;
|
||||
const char *layout;
|
||||
const char *variant;
|
||||
const char *options;
|
||||
char *rules;
|
||||
char *model;
|
||||
char *layout;
|
||||
char *variant;
|
||||
char *options;
|
||||
} XkbRMLVOSet;
|
||||
|
||||
typedef struct _XkbRF_VarDefs {
|
||||
|
|
|
|||
Loading…
Reference in a new issue