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:
Matthias Clasen
2005-11-28 18:31:03 +00:00
committed by Matthias Clasen
parent bb5ce4b2d3
commit 09b118f462
7 changed files with 48 additions and 18 deletions

View File

@@ -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)