Fix: move transparent union attribute after union declaration for clang
[urcu.git] / urcu / wfstack.h
index 362caccfa568b8631542238e0172e88763faaa44..28f61623638d0dc4ea03268f791e9d418668ef11 100644 (file)
@@ -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
 
This page took 0.02229 seconds and 4 git commands to generate.