summaryrefslogtreecommitdiff
path: root/src/kike.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kike.c')
-rw-r--r--src/kike.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/kike.c b/src/kike.c
index 7278363..1ca6b0c 100644
--- a/src/kike.c
+++ b/src/kike.c
@@ -215,9 +215,7 @@ enum
struct client
{
- struct client *next; ///< The next link in a chain
- struct client *prev; ///< The previous link in a chain
-
+ LIST_HEADER (client)
struct server_context *ctx; ///< Server context
int socket_fd; ///< The TCP socket
@@ -310,8 +308,7 @@ enum
struct channel_user
{
- struct channel_user *prev;
- struct channel_user *next;
+ LIST_HEADER (channel_user)
unsigned modes;
char nickname[];