projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef88c7e
)
Unconstify xkb_rules_names
author
Daniel Stone
<daniel@fooishbar.org>
Tue, 3 Apr 2012 16:08:57 +0000
(17:08 +0100)
committer
Daniel Stone
<daniel@fooishbar.org>
Mon, 9 Apr 2012 12:47:23 +0000
(13:47 +0100)
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>
include/xkbcommon/xkbcommon.h
patch
|
blob
|
history
diff --git
a/include/xkbcommon/xkbcommon.h
b/include/xkbcommon/xkbcommon.h
index
65b49fe
..
cadc57f
100644
(file)
--- 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 {
- c
onst c
har *rules;
- c
onst c
har *model;
- c
onst c
har *layout;
- c
onst c
har *variant;
- c
onst c
har *options;
+ char *rules;
+ char *model;
+ char *layout;
+ char *variant;
+ char *options;
};
/**