mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-29 13:48:21 +00:00
kernel: use LIST_DEFINE and list_drain
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
#define SOCKET_BUFFER (16 * 1024)
|
||||
|
||||
SPINLOCK_DEFINE(list_lock);
|
||||
static list_node_t socket_list = LIST_INIT_VALUE(socket_list);
|
||||
static LIST_DEFINE(socket_list);
|
||||
|
||||
typedef struct {
|
||||
uint8_t sender[6];
|
||||
|
||||
Reference in New Issue
Block a user