* g_bit_trylock:
* @address: a pointer to an integer
* @lock_bit: a bit value between 0 and 31
+ * @returns: %TRUE if the lock was acquired
*
* Sets the indicated @lock_bit in @address, returning %TRUE if
* successful. If the bit is already set, returns %FALSE immediately.
G_BEGIN_DECLS
-void g_bit_lock (volatile gint *lock,
+void g_bit_lock (volatile gint *address,
gint lock_bit);
-gboolean g_bit_trylock (volatile gint *lock,
+gboolean g_bit_trylock (volatile gint *address,
gint lock_bit);
-void g_bit_unlock (volatile gint *lock,
+void g_bit_unlock (volatile gint *address,
gint lock_bit);
G_END_DECLS