mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-04 05:50:26 +01:00
[clang-tidy] fix inconsistent declarations
Found with readability-inconsistent-declaration-parameter-name Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
9d72909658
commit
cd71a73d62
7 changed files with 8 additions and 8 deletions
|
|
@ -640,7 +640,7 @@ tp_button_is_inside_softbutton_area(const struct tp_dispatch *tp,
|
|||
|
||||
void
|
||||
tp_release_all_taps(struct tp_dispatch *tp,
|
||||
uint64_t time);
|
||||
uint64_t now);
|
||||
|
||||
void
|
||||
tp_tap_suspend(struct tp_dispatch *tp, uint64_t time);
|
||||
|
|
|
|||
|
|
@ -103,6 +103,6 @@ void
|
|||
pad_destroy_leds(struct pad_dispatch *pad);
|
||||
void
|
||||
pad_button_update_mode(struct libinput_tablet_pad_mode_group *g,
|
||||
unsigned int pressed_button,
|
||||
unsigned int button_index,
|
||||
enum libinput_button_state state);
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -158,6 +158,6 @@ touchpad_lenovo_x230_accel_profile(struct motion_filter *filter,
|
|||
double
|
||||
trackpoint_accel_profile(struct motion_filter *filter,
|
||||
void *data,
|
||||
double delta,
|
||||
double velocity,
|
||||
uint64_t time);
|
||||
#endif /* FILTER_H */
|
||||
|
|
|
|||
|
|
@ -5061,7 +5061,7 @@ libinput_device_config_accel_get_profiles(struct libinput_device *device);
|
|||
*/
|
||||
enum libinput_config_status
|
||||
libinput_device_config_accel_set_profile(struct libinput_device *device,
|
||||
enum libinput_config_accel_profile mode);
|
||||
enum libinput_config_accel_profile profile);
|
||||
|
||||
/**
|
||||
* @ingroup config
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ enum quirk {
|
|||
* tools, not user consumption. Do not display this in a GUI.
|
||||
*/
|
||||
const char*
|
||||
quirk_get_name(enum quirk which);
|
||||
quirk_get_name(enum quirk q);
|
||||
|
||||
/**
|
||||
* Log priorities used if custom logging is enabled.
|
||||
|
|
|
|||
|
|
@ -41,5 +41,5 @@ struct ratelimit {
|
|||
unsigned int num;
|
||||
};
|
||||
|
||||
void ratelimit_init(struct ratelimit *r, uint64_t ival_ms, unsigned int burst);
|
||||
void ratelimit_init(struct ratelimit *r, uint64_t ival_us, unsigned int burst);
|
||||
enum ratelimit_state ratelimit_test(struct ratelimit *r);
|
||||
|
|
|
|||
|
|
@ -225,8 +225,8 @@ safe_atod(const char *str, double *val)
|
|||
return true;
|
||||
}
|
||||
|
||||
char **strv_from_string(const char *string, const char *separator);
|
||||
char *strv_join(char **strv, const char *separator);
|
||||
char **strv_from_string(const char *in, const char *separator);
|
||||
char *strv_join(char **strv, const char *joiner);
|
||||
|
||||
static inline void
|
||||
strv_free(char **strv) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue