From d75b617fafa41b83aab5943827224df8b7ff9e4a Mon Sep 17 00:00:00 2001 From: Kenny Levinsen Date: Mon, 31 Aug 2020 01:34:36 +0200 Subject: server: Convert seat list to linked_list --- include/seat.h | 1 + include/server.h | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'include') 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 -#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); -- cgit v1.2.3