mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 23:46:15 +01:00
gmain: Remove redundant volatile from unix_signal_refcount
Acesss to unix_signal_refcount is protected by unix_signal_lock.
This commit is contained in:
parent
e0148985f3
commit
1c8f3c67c3
@ -462,10 +462,10 @@ static volatile sig_atomic_t any_unix_signal_pending;
|
||||
static volatile int unix_signal_pending[NSIG];
|
||||
static volatile int any_unix_signal_pending;
|
||||
#endif
|
||||
static volatile guint unix_signal_refcount[NSIG];
|
||||
|
||||
/* Guards all the data below */
|
||||
G_LOCK_DEFINE_STATIC (unix_signal_lock);
|
||||
static guint unix_signal_refcount[NSIG];
|
||||
static GSList *unix_signal_watches;
|
||||
static GSList *unix_child_watches;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user