diff options
Diffstat (limited to 'lib/blkid/list.h')
-rw-r--r-- | lib/blkid/list.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/blkid/list.h b/lib/blkid/list.h index c1cbfec5..26a5ac1b 100644 --- a/lib/blkid/list.h +++ b/lib/blkid/list.h @@ -1,4 +1,4 @@ -#if !defined(_BLKID_LIST_H) && !defined(LIST_HEAD) +#if !defined(_BLKID_LIST_H) && !defined(LIST_HEAD_INIT) #define _BLKID_LIST_H #ifdef __cplusplus @@ -27,9 +27,6 @@ struct list_head { #define LIST_HEAD_INIT(name) { &(name), &(name) } -#define LIST_HEAD(name) \ - struct list_head name = LIST_HEAD_INIT(name) - #define INIT_LIST_HEAD(ptr) do { \ (ptr)->next = (ptr); (ptr)->prev = (ptr); \ } while (0) |