summaryrefslogtreecommitdiff
path: root/glib
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-11-21 11:09:42 -0500
committerMatthias Clasen <mclasen@redhat.com>2011-11-21 11:09:42 -0500
commit4527e7cbf75f5f06a3f8b3ee9c5ecb16f6a27406 (patch)
tree660522c8c462007ce1966aa511e6749b2e811a0b /glib
parent22d3972284df905e948143792afc8865b193700e (diff)
downloadglib-4527e7cbf75f5f06a3f8b3ee9c5ecb16f6a27406.tar.gz
gbitlock: Drop @returns syntax from doc comments
Diffstat (limited to 'glib')
-rw-r--r--glib/gbitlock.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/glib/gbitlock.c b/glib/gbitlock.c
index 1b2d172a1..7674f9a31 100644
--- a/glib/gbitlock.c
+++ b/glib/gbitlock.c
@@ -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