X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=include%2Furcu%2Flist.h;fp=include%2Furcu%2Flist.h;h=8cfbd8462d97abe11b9ca5af9f80e0b15b221ab9;hp=f3b867839030fb3ceeda4192f2c0f4c20b856971;hb=ce4a1f76adc73cda1ff7d4c98eb54bbd188faadf;hpb=6faece30fc278a5062d3af116005d90be1a2027d diff --git a/include/urcu/list.h b/include/urcu/list.h index f3b8678..8cfbd84 100644 --- a/include/urcu/list.h +++ b/include/urcu/list.h @@ -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