summaryrefslogtreecommitdiff
path: root/include/input.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-11-15 06:00:44 -0800
committerKeith Packard <keithp@keithp.com>2014-01-12 10:14:50 -0800
commitfecc7eb1cf66db64728ee2d68cd9443df7e70879 (patch)
tree659d74fb9f18bcc8fc0a0774b71bfad3d8a050f2 /include/input.h
parentaf04cf6968b16cc9efd17905471047e7de62058a (diff)
xi: More warning cleanup for input
Lots more const char stuff. Remove duplicate defs of CoreKeyboardProc and CorePointerProc from test/xi2/protocol-common.c Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'include/input.h')
-rw-r--r--include/input.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/input.h b/include/input.h
index 2d5e531ef..042128f7f 100644
--- a/include/input.h
+++ b/include/input.h
@@ -221,12 +221,12 @@ typedef struct _InputOption InputOption;
typedef struct _XI2Mask XI2Mask;
typedef struct _InputAttributes {
- char *product;
- char *vendor;
- char *device;
- char *pnp_id;
- char *usb_id;
- char **tags; /* null-terminated */
+ const char *product;
+ const char *vendor;
+ const char *device;
+ const char *pnp_id;
+ const char *usb_id;
+ const char **tags; /* null-terminated */
uint32_t flags;
} InputAttributes;