aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/client.h2
-rw-r--r--include/seat.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/include/client.h b/include/client.h
index 7d4a247..e0d9016 100644
--- a/include/client.h
+++ b/include/client.h
@@ -7,11 +7,11 @@
#include "connection.h"
#include "linked_list.h"
-#include "list.h"
struct server;
struct client {
+ struct linked_list link; // seat::clients
struct server *server;
struct event_source_fd *event_source;
struct connection connection;
diff --git a/include/seat.h b/include/seat.h
index c82f7a0..60d3b29 100644
--- a/include/seat.h
+++ b/include/seat.h
@@ -6,7 +6,6 @@
#include <sys/types.h>
#include "linked_list.h"
-#include "list.h"
struct client;
@@ -28,7 +27,7 @@ struct seat_device {
struct seat {
char *seat_name;
- struct list clients;
+ struct linked_list clients;
struct client *active_client;
struct client *next_client;