summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-resources.c
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/dbus-resources.c')
-rw-r--r--dbus/dbus-resources.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/dbus/dbus-resources.c b/dbus/dbus-resources.c
index edc2e788..a5a8e099 100644
--- a/dbus/dbus-resources.c
+++ b/dbus/dbus-resources.c
@@ -96,13 +96,16 @@ _dbus_counter_new (void)
* Increments refcount of the counter
*
* @param counter the counter
+ * @returns the counter
*/
-void
+DBusCounter *
_dbus_counter_ref (DBusCounter *counter)
{
_dbus_assert (counter->refcount > 0);
counter->refcount += 1;
+
+ return counter;
}
/**