aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/seat.h1
-rw-r--r--include/server.h4
2 files changed, 3 insertions, 2 deletions
diff --git a/include/seat.h b/include/seat.h
index 60d3b29..30f7cc4 100644
--- a/include/seat.h
+++ b/include/seat.h
@@ -26,6 +26,7 @@ struct seat_device {
};
struct seat {
+ struct linked_list link; // server::seats
char *seat_name;
struct linked_list clients;
struct client *active_client;
diff --git a/include/server.h b/include/server.h
index a225668..587047e 100644
--- a/include/server.h
+++ b/include/server.h
@@ -3,7 +3,7 @@
#include <stdbool.h>
-#include "list.h"
+#include "linked_list.h"
#include "poller.h"
struct client;
@@ -12,7 +12,7 @@ struct server {
bool running;
struct poller poller;
- struct list seats;
+ struct linked_list seats;
};
int server_init(struct server *server);