gthread.h: avoid anonymous union
authorRyan Lortie <desrt@desrt.ca>
Mon, 2 Jan 2012 16:38:40 +0000 (11:38 -0500)
committerRyan Lortie <desrt@desrt.ca>
Mon, 2 Jan 2012 16:39:01 +0000 (11:39 -0500)
This is a GNU extension.

https://bugzilla.gnome.org/show_bug.cgi?id=666978

glib/deprecated/gthread.h

index ef605fa..a0d795d 100644 (file)
@@ -162,7 +162,7 @@ struct _GStaticRecMutex
     pthread_t owner;
 #endif
     gdouble dummy;
-  };
+  } unused;
 };
 
 #define G_STATIC_REC_MUTEX_INIT { G_STATIC_MUTEX_INIT }