From: Alan Jenkins Date: Sun, 26 Oct 2008 14:48:48 +0000 (+0000) Subject: kerneldoc comment fixes X-Git-Tag: 174~1370 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be7de4097af70515783cd0030f5e7a7a89bbadc8;p=systemd kerneldoc comment fixes s/ressources/resources/ Also reduce commas per sentence and add a possessive apostrophe. --- diff --git a/udev/lib/libudev-device.c b/udev/lib/libudev-device.c index 11a6037d..3f8ee107 100644 --- a/udev/lib/libudev-device.c +++ b/udev/lib/libudev-device.c @@ -266,7 +266,7 @@ struct udev_device *device_new(struct udev *udev) * path to the device, including the sys mount point. * * The initial refcount is 1, and needs to be decremented to - * release the ressources of the udev device. + * release the resources of the udev device. * * Returns: a new udev device, or #NULL, if it does not exist **/ @@ -587,7 +587,7 @@ struct udev_device *udev_device_ref(struct udev_device *udev_device) * @udev_device: udev device * * Drop a reference of a udev device. If the refcount reaches zero, - * the ressources of the device will be released. + * the resources of the device will be released. * **/ void udev_device_unref(struct udev_device *udev_device) diff --git a/udev/lib/libudev-monitor.c b/udev/lib/libudev-monitor.c index f70bdb2d..fc5b176b 100644 --- a/udev/lib/libudev-monitor.c +++ b/udev/lib/libudev-monitor.c @@ -54,7 +54,7 @@ struct udev_monitor { * socket will be used. * * The initial refcount is 1, and needs to be decremented to - * release the ressources of the udev monitor. + * release the resources of the udev monitor. * * Returns: a new udev monitor, or #NULL, in case of an error **/ @@ -178,7 +178,7 @@ struct udev_monitor *udev_monitor_ref(struct udev_monitor *udev_monitor) * @udev_monitor: udev monitor * * Drop a reference ofa udev monitor. If the refcount reaches zero, - * the bound socket will be closed, and the ressources of the monitor + * the bound socket will be closed, and the resources of the monitor * will be released. * **/ @@ -233,11 +233,11 @@ int udev_monitor_get_fd(struct udev_monitor *udev_monitor) * device, fill in the received data, and return the device. * * Only socket connections with uid=0 are accepted. The caller - * needs to make sure, that there is data to read from the socket, - * the call will block until the socket becomes readable. + * needs to make sure that there is data to read from the socket. + * The call will block until the socket becomes readable. * * The initial refcount is 1, and needs to be decremented to - * release the ressources of the udev device. + * release the resources of the udev device. * * Returns: a new udev device, or #NULL, in case of an error **/ diff --git a/udev/lib/libudev.c b/udev/lib/libudev.c index fcb78458..e26e8b13 100644 --- a/udev/lib/libudev.c +++ b/udev/lib/libudev.c @@ -85,7 +85,7 @@ void udev_set_userdata(struct udev *udev, void *userdata) * Create udev library context. * * The initial refcount is 1, and needs to be decremented to - * release the ressources of the udev library context. + * release the resources of the udev library context. * * Returns: a new udev library context **/ @@ -267,7 +267,7 @@ struct udev *udev_ref(struct udev *udev) * @udev: udev library context * * Drop a reference of the udev library context. If the refcount - * reaches zero, the ressources of the context will be released. + * reaches zero, the resources of the context will be released. * **/ void udev_unref(struct udev *udev) @@ -290,9 +290,9 @@ void udev_unref(struct udev *udev) * @udev: udev library context * @log_fn: function to be called for logging messages * - * The built-in logging, which writes to stderr, it can be + * The built-in logging writes to stderr. It can be * overridden by a custom function, to plug log messages - * into the users logging functionality. + * into the users' logging functionality. * **/ void udev_set_log_fn(struct udev *udev,