aboutsummaryrefslogtreecommitdiff
path: root/libseat
diff options
context:
space:
mode:
Diffstat (limited to 'libseat')
-rw-r--r--libseat/backend/logind.c4
-rw-r--r--libseat/backend/seatd.c8
-rw-r--r--libseat/libseat.c6
3 files changed, 9 insertions, 9 deletions
diff --git a/libseat/backend/logind.c b/libseat/backend/logind.c
index 492d319..7224508 100644
--- a/libseat/backend/logind.c
+++ b/libseat/backend/logind.c
@@ -44,7 +44,7 @@ struct backend_logind {
int has_drm;
};
-const struct libseat_impl logind_impl;
+const struct seat_impl logind_impl;
static struct backend_logind *backend_logind_from_libseat_backend(struct libseat *base);
static void destroy(struct backend_logind *backend) {
@@ -768,7 +768,7 @@ error:
return NULL;
}
-const struct libseat_impl logind_impl = {
+const struct seat_impl logind_impl = {
.open_seat = logind_open_seat,
.disable_seat = disable_seat,
.close_seat = close_seat,
diff --git a/libseat/backend/seatd.c b/libseat/backend/seatd.c
index a81898c..7b0b411 100644
--- a/libseat/backend/seatd.c
+++ b/libseat/backend/seatd.c
@@ -22,8 +22,8 @@
#include "server.h"
#endif
-const struct libseat_impl seatd_impl;
-const struct libseat_impl builtin_impl;
+const struct seat_impl seatd_impl;
+const struct seat_impl builtin_impl;
struct pending_event {
struct linked_list link; // backend_seat::link
@@ -495,7 +495,7 @@ static int disable_seat(struct libseat *base) {
return 0;
}
-const struct libseat_impl seatd_impl = {
+const struct seat_impl seatd_impl = {
.open_seat = open_seat,
.disable_seat = disable_seat,
.close_seat = close_seat,
@@ -569,7 +569,7 @@ static struct libseat *builtin_open_seat(struct libseat_seat_listener *listener,
}
}
-const struct libseat_impl builtin_impl = {
+const struct seat_impl builtin_impl = {
.open_seat = builtin_open_seat,
.disable_seat = disable_seat,
.close_seat = close_seat,
diff --git a/libseat/libseat.c b/libseat/libseat.c
index 3489385..121a3b0 100644
--- a/libseat/libseat.c
+++ b/libseat/libseat.c
@@ -10,9 +10,9 @@
#include "libseat.h"
#include "log.h"
-extern const struct libseat_impl seatd_impl;
-extern const struct libseat_impl logind_impl;
-extern const struct libseat_impl builtin_impl;
+extern const struct seat_impl seatd_impl;
+extern const struct seat_impl logind_impl;
+extern const struct seat_impl builtin_impl;
static const struct named_backend impls[] = {
#ifdef SEATD_ENABLED