From 8a6c9a33934ed69e66a01ea48e9e782dc2696b79 Mon Sep 17 00:00:00 2001 From: HiGarfield Date: Fri, 10 Jan 2025 00:17:32 +0800 Subject: [PATCH] Add a forward declaration for `struct list_node` --- src/list.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/list.h b/src/list.h index 85d58355..1d31b082 100644 --- a/src/list.h +++ b/src/list.h @@ -26,6 +26,7 @@ #define _GNU_SOURCE #endif +struct list_node; /** * Structure representing a node in a doubly linked list. */