[glib] gthread.h: avoid anonymous union



commit fc731de9291556d93e02cc4c39a8573c0a5500ea
Author: Ryan Lortie <desrt desrt ca>
Date:   Mon Jan 2 11:38:40 2012 -0500

    gthread.h: avoid anonymous union
    
    This is a GNU extension.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=666978

 glib/deprecated/gthread.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/deprecated/gthread.h b/glib/deprecated/gthread.h
index ef605fa..a0d795d 100644
--- a/glib/deprecated/gthread.h
+++ b/glib/deprecated/gthread.h
@@ -162,7 +162,7 @@ struct _GStaticRecMutex
     pthread_t owner;
 #endif
     gdouble dummy;
-  };
+  } unused;
 };
 
 #define G_STATIC_REC_MUTEX_INIT { G_STATIC_MUTEX_INIT }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]