summaryrefslogtreecommitdiffstats
path: root/libsmartcols/src/table.c
diff options
context:
space:
mode:
authorIgor Gnatenko2016-09-23 16:05:02 +0200
committerKarel Zak2016-09-27 11:19:03 +0200
commit618a1d6dbe9055382f7f37c222e8456e6841dc8b (patch)
treea7cdbc2aabf076d29abcc9774f5eb323effa7aaf /libsmartcols/src/table.c
parentlibsmartcols: support custom wrap and remove SCOLS_FL_WRAPNL (diff)
downloadkernel-qcow2-util-linux-618a1d6dbe9055382f7f37c222e8456e6841dc8b.tar.gz
kernel-qcow2-util-linux-618a1d6dbe9055382f7f37c222e8456e6841dc8b.tar.xz
kernel-qcow2-util-linux-618a1d6dbe9055382f7f37c222e8456e6841dc8b.zip
libsmartcols: fixes in doc generation
* Add 2.29 symbols index * Sync argument names between header and implementation Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Diffstat (limited to 'libsmartcols/src/table.c')
-rw-r--r--libsmartcols/src/table.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libsmartcols/src/table.c b/libsmartcols/src/table.c
index 759b54c27..93f0b669c 100644
--- a/libsmartcols/src/table.c
+++ b/libsmartcols/src/table.c
@@ -116,7 +116,7 @@ void scols_unref_table(struct libscols_table *tb)
/**
* scols_table_set_name:
* @tb: a pointer to a struct libscols_table instance
- * @str: a name
+ * @name: a name
*
* The table name is used for example for JSON top level object name.
*
@@ -124,9 +124,9 @@ void scols_unref_table(struct libscols_table *tb)
*
* Since: 2.27
*/
-int scols_table_set_name(struct libscols_table *tb, const char *str)
+int scols_table_set_name(struct libscols_table *tb, const char *name)
{
- return strdup_to_struct_member(tb, name, str);
+ return strdup_to_struct_member(tb, name, name);
}
/**