summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/dbus-hash.c')
-rw-r--r--dbus/dbus-hash.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/dbus/dbus-hash.c b/dbus/dbus-hash.c
index d35087b4..b0581510 100644
--- a/dbus/dbus-hash.c
+++ b/dbus/dbus-hash.c
@@ -348,11 +348,14 @@ _dbus_hash_table_new (DBusHashType type,
* Increments the reference count for a hash table.
*
* @param table the hash table to add a reference to.
+ * @returns the hash table.
*/
-void
+DBusHashTable *
_dbus_hash_table_ref (DBusHashTable *table)
{
table->refcount += 1;
+
+ return table;
}
/**