From 4ab60277cbed0ddeba999ff93a3e0bd3ac9fe007 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 23 May 2017 13:27:29 +0200 Subject: libsmartcols: (docs) add missing 'since' tags Signed-off-by: Karel Zak --- libsmartcols/docs/libsmartcols-docs.xml | 6 +++++- libsmartcols/src/cell.c | 2 ++ libsmartcols/src/line.c | 4 ++++ libsmartcols/src/table.c | 6 +++++- 4 files changed, 16 insertions(+), 2 deletions(-) (limited to 'libsmartcols') diff --git a/libsmartcols/docs/libsmartcols-docs.xml b/libsmartcols/docs/libsmartcols-docs.xml index 607ab2e7c..bd0d76659 100644 --- a/libsmartcols/docs/libsmartcols-docs.xml +++ b/libsmartcols/docs/libsmartcols-docs.xml @@ -9,7 +9,7 @@ libsmartcols Reference Manual for libsmartcols version &version; - 2014-2016 + 2014-2017 Karel Zak <kzak@redhat.com> @@ -61,4 +61,8 @@ available from https://www.kernel.org/pub/linux/utils/util-linux/. Index of new symbols in 2.29 + + Index of new symbols in 2.30 + + diff --git a/libsmartcols/src/cell.c b/libsmartcols/src/cell.c index 04e9bfc20..783bac2eb 100644 --- a/libsmartcols/src/cell.c +++ b/libsmartcols/src/cell.c @@ -218,6 +218,8 @@ int scols_cell_get_flags(const struct libscols_cell *ce) * scols_cell_get_alignment: * @ce: a pointer to a struct libscols_cell instance * + * Since: 2.30 + * * Returns: SCOLS_CELL_FL_{RIGHT,CELNTER,LEFT} */ int scols_cell_get_alignment(const struct libscols_cell *ce) diff --git a/libsmartcols/src/line.c b/libsmartcols/src/line.c index 134bf2d8e..aa339ce38 100644 --- a/libsmartcols/src/line.c +++ b/libsmartcols/src/line.c @@ -315,6 +315,10 @@ int scols_line_next_child(struct libscols_line *ln, * * The function is designed to detect circular dependencies between @ln and * @parent. It checks if @ln is not any (grand) parent in the @parent's tree. + * + * Since: 2.30 + * + * Returns: 0 or 1 */ int scols_line_is_ancestor(struct libscols_line *ln, struct libscols_line *parent) { diff --git a/libsmartcols/src/table.c b/libsmartcols/src/table.c index 50288d606..a64a6b2a2 100644 --- a/libsmartcols/src/table.c +++ b/libsmartcols/src/table.c @@ -257,9 +257,11 @@ int scols_table_remove_columns(struct libscols_table *tb) * @pre: column before the column * @cl: colum to move * - * Move the @cl behind @pre. The the @pre is NULL then the @col is the fist + * Move the @cl behind @pre. If the @pre is NULL then the @col is the first * column in the table. * + * Since: 2.30 + * * Returns: 0, a negative number in case of an error. */ int scols_table_move_column(struct libscols_table *tb, @@ -1338,6 +1340,8 @@ static struct libscols_line *move_line_and_children(struct libscols_line *ln, st * Reorders lines in the table by parent->child relation. Note that order of * the lines in the table is independent on the tree hierarchy. * + * Since: 2.30 + * * Returns: 0, a negative value in case of an error. */ int scols_sort_table_by_tree(struct libscols_table *tb) -- cgit v1.2.3-55-g7522