mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-31 22:23:39 +02:00
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:
@@ -101,7 +101,7 @@ struct _GLogHandler
|
||||
|
||||
|
||||
/* --- variables --- */
|
||||
static GMutex g_messages_lock = G_MUTEX_INIT;
|
||||
static GMutex g_messages_lock;
|
||||
static GLogDomain *g_log_domains = NULL;
|
||||
static GLogLevelFlags g_log_always_fatal = G_LOG_FATAL_MASK;
|
||||
static GPrintFunc glib_print_func = NULL;
|
||||
|
Reference in New Issue
Block a user