]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - lhnet.h
lhnet: Use the generic linked list
[xonotic/darkplaces.git] / lhnet.h
diff --git a/lhnet.h b/lhnet.h
index 1644fb17f2da7a237f8e2bf522b6d8678d886e45..6d1d1f3f22c08f661d3c4ef40dc8da454f682e3a 100644 (file)
--- a/lhnet.h
+++ b/lhnet.h
@@ -5,6 +5,7 @@
 #define LHNET_H
 
 #include <stddef.h>
 #define LHNET_H
 
 #include <stddef.h>
+#include "com_list.h"
 
 typedef enum lhnetaddresstype_e
 {
 
 typedef enum lhnetaddresstype_e
 {
@@ -36,7 +37,7 @@ typedef struct lhnetsocket_s
 {
        lhnetaddress_t address;
        int inetsocket;
 {
        lhnetaddress_t address;
        int inetsocket;
-       struct lhnetsocket_s *next, *prev;
+       llist_t list;
 }
 lhnetsocket_t;
 
 }
 lhnetsocket_t;