]> 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 e66e5a5d8f9ca8068d037a00ae943a51edf573e1..6d1d1f3f22c08f661d3c4ef40dc8da454f682e3a 100644 (file)
--- a/lhnet.h
+++ b/lhnet.h
@@ -1,9 +1,12 @@
 
-// Written by Forest Hale 2003-06-15 and placed into public domain.
+// Written by Ashley Rose Hale (LadyHavoc) 2003-06-15 and placed into public domain.
 
 #ifndef LHNET_H
 #define LHNET_H
 
+#include <stddef.h>
+#include "com_list.h"
+
 typedef enum lhnetaddresstype_e
 {
        LHNETADDRESSTYPE_NONE,
@@ -34,7 +37,7 @@ typedef struct lhnetsocket_s
 {
        lhnetaddress_t address;
        int inetsocket;
-       struct lhnetsocket_s *next, *prev;
+       llist_t list;
 }
 lhnetsocket_t;