summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-05 17:01:50 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-05 17:01:50 -0800
commitf52912d06279d4c32e5031d1416f2f273bb42116 (patch)
tree2282f0b53ff644a7da06925b9a467b016fc5e6d2 /tools
parent13a26918d848bc8feeaaf59293f793c2af1ce52e (diff)
Fix 185 -Wdiscarded-qualifiers warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/synclient.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/synclient.c b/tools/synclient.c
index 13fb812..fa56198 100644
--- a/tools/synclient.c
+++ b/tools/synclient.c
@@ -65,11 +65,11 @@ enum ParaType {
};
struct Parameter {
- char *name; /* Name of parameter */
+ const char *name; /* Name of parameter */
enum ParaType type; /* Type of parameter */
double min_val; /* Minimum allowed value */
double max_val; /* Maximum allowed value */
- char *prop_name; /* Property name */
+ const char *prop_name; /* Property name */
int prop_format; /* Property format (0 for floats) */
int prop_offset; /* Offset inside property */
};