summaryrefslogtreecommitdiff
path: root/glib
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2012-01-02 11:38:40 -0500
committerRyan Lortie <desrt@desrt.ca>2012-01-02 11:39:01 -0500
commitfc731de9291556d93e02cc4c39a8573c0a5500ea (patch)
tree0c09367f76374993cc5b4a1d23011f4755019583 /glib
parenta07e9a5fb22de50e7a94797cf4f0e5718f064ea1 (diff)
downloadglib-fc731de9291556d93e02cc4c39a8573c0a5500ea.tar.gz
gthread.h: avoid anonymous union
This is a GNU extension. https://bugzilla.gnome.org/show_bug.cgi?id=666978
Diffstat (limited to 'glib')
-rw-r--r--glib/deprecated/gthread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/deprecated/gthread.h b/glib/deprecated/gthread.h
index ef605faf0..a0d795d35 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 }