diff options
author | Kenny Levinsen <kl@kl.wtf> | 2021-08-15 14:31:50 +0200 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2021-08-15 14:32:05 +0200 |
commit | 038c30f9b1f93fb7fc9514366db3f3aa61a3ca49 (patch) | |
tree | 68c3230a2c1a4da34fd9460549d990882cc8a47f /libseat/backend | |
parent | d78859bc9a7ed3c8e62c95087c4a9e56be2e95ce (diff) |
libseat: Fix build of builtin backend
This was regressed by 166feaea3394e00af14418e074ae090e31922f33 which
missed the builtin backend when changing struct libseat_seat_listener to
being passed around as const.
Diffstat (limited to 'libseat/backend')
-rw-r--r-- | libseat/backend/seatd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libseat/backend/seatd.c b/libseat/backend/seatd.c index 3ff54d6..85df9f5 100644 --- a/libseat/backend/seatd.c +++ b/libseat/backend/seatd.c @@ -599,7 +599,7 @@ static int set_deathsig(int signal) { #error Unsupported platform #endif -static struct libseat *builtin_open_seat(struct libseat_seat_listener *listener, void *data) { +static struct libseat *builtin_open_seat(const struct libseat_seat_listener *listener, void *data) { int fds[2]; if (socketpair(AF_UNIX, SOCK_STREAM, 0, fds) == -1) { log_errorf("Could not create socket pair: %s", strerror(errno)); |