From 0cf8312703d711f7a3e55d47e13266184501672c Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 13 Jan 2015 11:57:15 +0100 Subject: libmount: cleanup gtk-docs warnings Signed-off-by: Karel Zak --- libmount/src/monitor.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libmount/src/monitor.c') diff --git a/libmount/src/monitor.c b/libmount/src/monitor.c index f0d91d931..f7323f693 100644 --- a/libmount/src/monitor.c +++ b/libmount/src/monitor.c @@ -573,7 +573,7 @@ int mnt_monitor_close_fd(struct libmnt_monitor *mn) * * The file descriptor is associated with all monitored files and it's usable * for example for epoll. You have to call mnt_monitor_event_cleanup() or - * mnt_monitor_next_changed() after each event. + * mnt_monitor_next_change() after each event. * * Returns: >=0 (fd) on success, <0 on error */ @@ -673,7 +673,7 @@ static struct monitor_entry *get_changed(struct libmnt_monitor *mn) } /** - * mnt_monitor_next_changed: + * mnt_monitor_next_change: * @mn: monitor * @filename: returns changed file (optional argument) * @type: returns MNT_MONITOR_TYPE_* (optional argument) @@ -682,7 +682,7 @@ static struct monitor_entry *get_changed(struct libmnt_monitor *mn) * * Returns: 0 on success, 1 no change, <0 on error */ -int mnt_monitor_next_changed(struct libmnt_monitor *mn, +int mnt_monitor_next_change(struct libmnt_monitor *mn, const char **filename, int *type) { @@ -846,7 +846,7 @@ int test_epoll(struct libmnt_test *ts, int argc, char *argv[]) continue; printf(" top-level FD active\n"); - while (mnt_monitor_next_changed(mn, &filename, NULL) == 0) + while (mnt_monitor_next_change(mn, &filename, NULL) == 0) printf(" %s: change detected\n", filename); } while (1); @@ -873,7 +873,7 @@ int test_wait(struct libmnt_test *ts, int argc, char *argv[]) while (mnt_monitor_wait(mn, -1) > 0) { printf("notification detected\n"); - while (mnt_monitor_next_changed(mn, &filename, NULL) == 0) + while (mnt_monitor_next_change(mn, &filename, NULL) == 0) printf(" %s: change detected\n", filename); } -- cgit v1.2.3-55-g7522