wma: Decode as much as possible.
[paraslash.git] / list.h
diff --git a/list.h b/list.h
index de04ab9eed1184451f5338b06a7a2be9106aac5d..80f36a1ba58ee0032fb3fbd99c4054a03c917cbd 100644 (file)
--- a/list.h
+++ b/list.h
@@ -33,6 +33,10 @@ struct list_head {
        struct list_head *prev;
 };
 
+/** Define an initialized list head. */
+#define INITIALIZED_LIST_HEAD(name) struct list_head name = { &(name), &(name) }
+
+
 /** must be called before using any other list functions */
 #define INIT_LIST_HEAD(ptr) do { \
        (ptr)->next = (ptr); (ptr)->prev = (ptr); \