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:
Peter Hutterer 2014-01-29 11:16:51 +10:00
commit 2fc38d1e29
5 changed files with 52 additions and 25 deletions

View file

@ -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 {