mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-01-01 11:08:21 -05:00
types/wlr_switch: constify impl
This commit is contained in:
parent
f1181c34ed
commit
1acc931cf0
3 changed files with 3 additions and 3 deletions
|
|
@ -6,7 +6,7 @@
|
|||
#include <wlr/types/wlr_switch.h>
|
||||
|
||||
void wlr_switch_init(struct wlr_switch *switch_device,
|
||||
struct wlr_switch_impl *impl, const char *name) {
|
||||
const struct wlr_switch_impl *impl, const char *name) {
|
||||
wlr_input_device_init(&switch_device->base, WLR_INPUT_DEVICE_SWITCH, NULL,
|
||||
name);
|
||||
switch_device->base.switch_device = switch_device;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue