From a96208217348e2ec0d438c1711e2672dfc6a6a04 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 27 Apr 2017 11:31:01 +1000 Subject: [PATCH] hidpp20: constify a helper function Just because we can Signed-off-by: Peter Hutterer --- src/hidpp20.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hidpp20.c b/src/hidpp20.c index d8edf9a6..e758fae2 100644 --- a/src/hidpp20.c +++ b/src/hidpp20.c @@ -1583,8 +1583,8 @@ hidpp20_onboard_profiles_parse_macro(struct hidpp20_device *device, } static unsigned int -hidpp20_onboard_profiles_compute_dict_size(struct hidpp20_device *device, - struct hidpp20_profiles *profiles) +hidpp20_onboard_profiles_compute_dict_size(const struct hidpp20_device *device, + const struct hidpp20_profiles *profiles) { unsigned p, num_offset;