summaryrefslogtreecommitdiff
path: root/src/libudev/libudev.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libudev/libudev.c')
-rw-r--r--src/libudev/libudev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libudev/libudev.c b/src/libudev/libudev.c
index 5b754a22a4..07a24d5c3c 100644
--- a/src/libudev/libudev.c
+++ b/src/libudev/libudev.c
@@ -221,6 +221,7 @@ _public_ struct udev *udev_ref(struct udev *udev)
* Drop a reference of the udev library context. If the refcount
* reaches zero, the resources of the context will be released.
*
+ * Returns: the passed udev library context if it has still an active reference, or #NULL otherwise.
**/
_public_ struct udev *udev_unref(struct udev *udev)
{