X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=urcu%2Fwfcqueue.h;fp=urcu%2Fwfcqueue.h;h=83ec21949bbf5c7a27e012be5aa675bb06883dfc;hp=df26e339692b4694590352fa4454b366a67137e0;hb=5135c0fd2284e6365bc9d0c53f060b7e946a412f;hpb=991d28cadca1bde011b9aa74a026e21ed91d2e87 diff --git a/urcu/wfcqueue.h b/urcu/wfcqueue.h index df26e33..83ec219 100644 --- a/urcu/wfcqueue.h +++ b/urcu/wfcqueue.h @@ -79,10 +79,10 @@ struct cds_wfcq_head { * struct cds_wfcq_head and struct __cds_wfcq_head on any of those two * types. */ -typedef union __attribute__((__transparent_union__)) { +typedef union { struct __cds_wfcq_head *_h; struct cds_wfcq_head *h; -} cds_wfcq_head_ptr_t; +} __attribute__((__transparent_union__)) cds_wfcq_head_ptr_t; struct cds_wfcq_tail { struct cds_wfcq_node *p;