summaryrefslogtreecommitdiffstats
path: root/libsmartcols/src/table.c
diff options
context:
space:
mode:
authorKarel Zak2017-05-23 13:27:29 +0200
committerKarel Zak2017-05-23 13:27:29 +0200
commit4ab60277cbed0ddeba999ff93a3e0bd3ac9fe007 (patch)
treecc3096e3c517940aa8fd52faa7a6b3e881ce32e4 /libsmartcols/src/table.c
parentbuild-sys: release++ (v2.30-rc2) (diff)
downloadkernel-qcow2-util-linux-4ab60277cbed0ddeba999ff93a3e0bd3ac9fe007.tar.gz
kernel-qcow2-util-linux-4ab60277cbed0ddeba999ff93a3e0bd3ac9fe007.tar.xz
kernel-qcow2-util-linux-4ab60277cbed0ddeba999ff93a3e0bd3ac9fe007.zip
libsmartcols: (docs) add missing 'since' tags
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libsmartcols/src/table.c')
-rw-r--r--libsmartcols/src/table.c6
1 files changed, 5 insertions, 1 deletions
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)