summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-05-28 10:08:23 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-06-08 09:12:14 +1000
commit9624f4e2ba7d1973813de066806eed108748a53a (patch)
treec5c7ec3bdf8b19dfe3758ece2a8969a661852ac3
parent047955f51e013c190bb09ba0c03ca2c160f34997 (diff)
Constify InputDriverRec->default_options
Removes a warning, and with the input ABI 18 this is forced to const in the server. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
-rw-r--r--src/evdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evdev.c b/src/evdev.c
index 8d97243..000eccc 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -93,7 +93,7 @@
#define ABS_MT_TRACKING_ID 0x39
#endif
-static char *evdevDefaults[] = {
+static const char *evdevDefaults[] = {
"XkbRules", "evdev",
"XkbModel", "evdev",
"XkbLayout", "us",