gbitlock: Drop @returns syntax from doc comments
authorMatthias Clasen <mclasen@redhat.com>
Mon, 21 Nov 2011 16:09:42 +0000 (11:09 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 21 Nov 2011 16:09:42 +0000 (11:09 -0500)
glib/gbitlock.c

index 1b2d172..7674f9a 100644 (file)
@@ -255,7 +255,6 @@ g_bit_lock (volatile gint *address,
  * 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.
@@ -270,6 +269,8 @@ g_bit_lock (volatile gint *address,
  * @address must be atomic in order for this function to work
  * reliably.
  *
+ * Returns: %TRUE if the lock was acquired
+ *
  * Since: 2.24
  **/
 gboolean
@@ -445,7 +446,6 @@ void
  * g_pointer_bit_trylock:
  * @address: a pointer to a #gpointer-sized value
  * @lock_bit: a bit value between 0 and 31
- * @returns: %TRUE if the lock was acquired
  *
  * This is equivalent to g_bit_trylock, but working on pointers (or
  * other pointer-sized values).
@@ -453,6 +453,8 @@ void
  * For portability reasons, you may only lock on the bottom 32 bits of
  * the pointer.
  *
+ * Returns: %TRUE if the lock was acquired
+ *
  * Since: 2.30
  **/
 gboolean