locks: drop _INIT macros

All locks are now zero-initialised, so we can drop the G_*_INIT macros
for them.

Adjust various users around GLib accordingly and change the docs.

https://bugzilla.gnome.org/show_bug.cgi?id=659866
This commit is contained in:
Ryan Lortie
2011-10-02 20:51:38 -04:00
parent 3315aee709
commit 2a677d1370
22 changed files with 44 additions and 128 deletions

View File

@@ -326,7 +326,7 @@ _g_module_debug_init (void)
module_debug_initialized = TRUE;
}
static GRecMutex g_module_global_lock = G_REC_MUTEX_INIT;
static GRecMutex g_module_global_lock;
GModule*
g_module_open (const gchar *file_name,