X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu%2Fwfstack.h;h=28f61623638d0dc4ea03268f791e9d418668ef11;hp=362caccfa568b8631542238e0172e88763faaa44;hb=b0a841b4ff807dd29fe0cdbfe24900312f0e627b;hpb=711ff0f91fa2270148ec6b36dadad7fb135ee70b diff --git a/urcu/wfstack.h b/urcu/wfstack.h index 362cacc..28f6162 100644 --- a/urcu/wfstack.h +++ b/urcu/wfstack.h @@ -97,10 +97,10 @@ struct cds_wfs_stack { * struct cds_wfs_stack and struct __cds_wfs_stack on any of those two * types. */ -typedef union __attribute__((__transparent_union__)) { +typedef union { struct __cds_wfs_stack *_s; struct cds_wfs_stack *s; -} cds_wfs_stack_ptr_t; +} __attribute__((__transparent_union__)) cds_wfs_stack_ptr_t; #ifdef _LGPL_SOURCE