From: Daniel Stone Date: Tue, 3 Apr 2012 16:08:57 +0000 (+0100) Subject: Unconstify xkb_rules_names X-Git-Tag: xkbcommon-0.2.0~649 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d007cd0a1f3f4b9c927175771ff79aae6fe4ab8b;p=platform%2Fupstream%2Flibxkbcommon.git Unconstify xkb_rules_names Since we never return an xkb_rules_names and it's all user-provided strings, seems a bit harsh to have it const. Signed-off-by: Daniel Stone --- diff --git a/include/xkbcommon/xkbcommon.h b/include/xkbcommon/xkbcommon.h index 65b49fe..cadc57f 100644 --- a/include/xkbcommon/xkbcommon.h +++ b/include/xkbcommon/xkbcommon.h @@ -114,11 +114,11 @@ typedef uint32_t xkb_led_index_t; * should be the primary identifier for a keymap. */ struct xkb_rule_names { - 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; }; /**