summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2012-04-03 17:08:57 +0100
committerDaniel Stone <daniel@fooishbar.org>2012-04-09 13:47:23 +0100
commitd007cd0a1f3f4b9c927175771ff79aae6fe4ab8b (patch)
tree5c88c5114530666784bd2bcd00e1bdb9fe8aadc1 /include
parentef88c7efabf98ea1fcee29e026f96b3f31b94521 (diff)
downloadxorg-lib-libxkbcommon-d007cd0a1f3f4b9c927175771ff79aae6fe4ab8b.tar.gz
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 <daniel@fooishbar.org>
Diffstat (limited to 'include')
-rw-r--r--include/xkbcommon/xkbcommon.h10
1 files changed, 5 insertions, 5 deletions
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;
};
/**