Fix: move transparent union attribute after union declaration for clang
[urcu.git] / urcu / lfstack.h
index cd8e958dfc2ac6e0151b4f73685cd615dac74ded..fa58054221e77826f97484cb99626a3444eac9c4 100644 (file)
@@ -84,10 +84,10 @@ struct cds_lfs_stack {
  * struct cds_lfs_stack and struct __cds_lfs_stack on any of those two
  * types.
  */
-typedef union __attribute__((__transparent_union__)) {
+typedef union {
        struct __cds_lfs_stack *_s;
        struct cds_lfs_stack *s;
-} cds_lfs_stack_ptr_t;
+} __attribute__((__transparent_union__)) cds_lfs_stack_ptr_t;
 
 #ifdef _LGPL_SOURCE
 
This page took 0.022602 seconds and 4 git commands to generate.