diff options
Diffstat (limited to 'src/utils/list.h')
-rw-r--r-- | src/utils/list.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/list.h b/src/utils/list.h index 6881130957ffa..ee2f4856950f1 100644 --- a/src/utils/list.h +++ b/src/utils/list.h @@ -17,6 +17,8 @@ struct dl_list { struct dl_list *prev; }; +#define DL_LIST_HEAD_INIT(l) { &(l), &(l) } + static inline void dl_list_init(struct dl_list *list) { list->next = list; |