diff --git a/include/common/mini-clist.h b/include/common/mini-clist.h index a2a86bde1..caed2dc00 100644 --- a/include/common/mini-clist.h +++ b/include/common/mini-clist.h @@ -23,6 +23,8 @@ struct list { #define LIST_INIT(l) ((l)->n = (l)->p = (l)) +#define LIST_HEAD_INIT(l) { &l, &l } + /* dual linked lists : * Start = (struct list *) pointer to the next elem's prev list entry * For each element :