Fix order of initializers in CDS_LIST_HEAD_INIT
[urcu.git] / include / urcu / list.h
index f3b867839030fb3ceeda4192f2c0f4c20b856971..8cfbd8462d97abe11b9ca5af9f80e0b15b221ab9 100644 (file)
@@ -46,7 +46,7 @@ struct cds_list_head {
 #define CDS_INIT_LIST_HEAD(ptr) \
        (ptr)->next = (ptr)->prev = (ptr)
 
-#define CDS_LIST_HEAD_INIT(name) { .prev = &(name), .next = &(name) }
+#define CDS_LIST_HEAD_INIT(name) { .next = &(name), .prev = &(name) }
 
 /* Add new element at the head of the list. */
 static inline
This page took 0.022287 seconds and 4 git commands to generate.