diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2022-09-05 11:33:20 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2022-09-08 09:03:15 +1000 |
commit | fc1a28951a4d0cd37150ca7a997aa9227b4d6061 (patch) | |
tree | ced9adb5930fe11abe02931363e0a71401d1fea2 /src/filter-touchpad-flat.c | |
parent | 0bb82faab1786a194ad37456dc35d5a9953d3d1e (diff) | |
download | libinput-fc1a28951a4d0cd37150ca7a997aa9227b4d6061.tar.gz |
filter: constify the interfaces and make them static
No functional change
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/filter-touchpad-flat.c')
-rw-r--r-- | src/filter-touchpad-flat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filter-touchpad-flat.c b/src/filter-touchpad-flat.c index bb6c31ad..34867af3 100644 --- a/src/filter-touchpad-flat.c +++ b/src/filter-touchpad-flat.c @@ -104,7 +104,7 @@ accelerator_destroy_touchpad_flat(struct motion_filter *filter) free(accel); } -struct motion_filter_interface accelerator_interface_touchpad_flat = { +static const struct motion_filter_interface accelerator_interface_touchpad_flat = { .type = LIBINPUT_CONFIG_ACCEL_PROFILE_FLAT, .filter = accelerator_filter_touchpad_flat, .filter_constant = accelerator_filter_noop_touchpad_flat, |