diff options
author | emersion <contact@emersion.fr> | 2018-04-25 23:51:00 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-04-25 23:51:00 +0100 |
commit | 625a7a48dc9f348a7556b03dd3c10a6a7d9c6037 (patch) | |
tree | d0c31f933c291b040347106d03e6af2fad50c73c /backend/libinput/keyboard.c | |
parent | 71ca45e2c0cbecf8fb24f0cab019646d92cce14b (diff) |
Don't use the wlr_ prefix for static functions
Diffstat (limited to 'backend/libinput/keyboard.c')
-rw-r--r-- | backend/libinput/keyboard.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/backend/libinput/keyboard.c b/backend/libinput/keyboard.c index ae2f0f23..d8dd8878 100644 --- a/backend/libinput/keyboard.c +++ b/backend/libinput/keyboard.c @@ -12,20 +12,20 @@ struct wlr_libinput_keyboard { struct libinput_device *libinput_dev; }; -static void wlr_libinput_keyboard_set_leds(struct wlr_keyboard *wlr_kb, uint32_t leds) { +static void keyboard_set_leds(struct wlr_keyboard *wlr_kb, uint32_t leds) { struct wlr_libinput_keyboard *wlr_libinput_kb = (struct wlr_libinput_keyboard *)wlr_kb; libinput_device_led_update(wlr_libinput_kb->libinput_dev, leds); } -static void wlr_libinput_keyboard_destroy(struct wlr_keyboard *wlr_kb) { +static void keyboard_destroy(struct wlr_keyboard *wlr_kb) { struct wlr_libinput_keyboard *wlr_libinput_kb = (struct wlr_libinput_keyboard *)wlr_kb; libinput_device_unref(wlr_libinput_kb->libinput_dev); } struct wlr_keyboard_impl impl = { - .destroy = wlr_libinput_keyboard_destroy, - .led_update = wlr_libinput_keyboard_set_leds + .destroy = keyboard_destroy, + .led_update = keyboard_set_leds }; struct wlr_keyboard *create_libinput_keyboard( |