mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-30 13:53:30 +02:00
Silence compiler warnings.
2005-11-28 Matthias Clasen <mclasen@redhat.com> * glib/gthread.c (g_static_rw_lock_wait, g_static_rw_lock_signal): * glib/gnode.c (g_node_depth_traverse_level): * glib/gmem.c (g_allocator_new): * glib/ghash.c (g_hash_table_unref, g_hash_table_destroy) (g_hash_table_foreach_remove_or_steal): Silence compiler warnings.
This commit is contained in:
committed by
Matthias Clasen
parent
bb5ce4b2d3
commit
09b118f462
@@ -730,7 +730,7 @@ g_static_rw_lock_init (GStaticRWLock* lock)
|
||||
*lock = init_lock;
|
||||
}
|
||||
|
||||
static void inline
|
||||
inline static void
|
||||
g_static_rw_lock_wait (GCond** cond, GStaticMutex* mutex)
|
||||
{
|
||||
if (!*cond)
|
||||
@@ -738,7 +738,7 @@ g_static_rw_lock_wait (GCond** cond, GStaticMutex* mutex)
|
||||
g_cond_wait (*cond, g_static_mutex_get_mutex (mutex));
|
||||
}
|
||||
|
||||
static void inline
|
||||
inline static void
|
||||
g_static_rw_lock_signal (GStaticRWLock* lock)
|
||||
{
|
||||
if (lock->want_to_write && lock->write_cond)
|
||||
|
Reference in New Issue
Block a user