aboutsummaryrefslogtreecommitdiff
path: root/libseat/backend/noop.c
diff options
context:
space:
mode:
Diffstat (limited to 'libseat/backend/noop.c')
-rw-r--r--libseat/backend/noop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libseat/backend/noop.c b/libseat/backend/noop.c
index 71d0224..7436c48 100644
--- a/libseat/backend/noop.c
+++ b/libseat/backend/noop.c
@@ -13,7 +13,7 @@
struct backend_noop {
struct libseat base;
- struct libseat_seat_listener *seat_listener;
+ const struct libseat_seat_listener *seat_listener;
void *seat_listener_data;
bool initial_setup;
@@ -103,7 +103,7 @@ static int dispatch_background(struct libseat *base, int timeout) {
return 0;
}
-static struct libseat *noop_open_seat(struct libseat_seat_listener *listener, void *data) {
+static struct libseat *noop_open_seat(const struct libseat_seat_listener *listener, void *data) {
struct backend_noop *backend = calloc(1, sizeof(struct backend_noop));
if (backend == NULL) {
return NULL;