From bfc6941ae764dc5305add287463d06692cc94e8d Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 18 Sep 2016 11:47:13 +0200 Subject: [PATCH] libsmartcols: fix typos in docs Signed-off-by: Igor Gnatenko --- libsmartcols/src/column.c | 2 +- libsmartcols/src/line.c | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libsmartcols/src/column.c b/libsmartcols/src/column.c index c83fe1e68e..6a3b69bf18 100644 --- a/libsmartcols/src/column.c +++ b/libsmartcols/src/column.c @@ -29,7 +29,7 @@ * * Allocates space for a new column. * - * Returns: a pointer to a new struct libscols_cell instance, NULL in case of an ENOMEM error. + * Returns: a pointer to a new struct libscols_column instance, NULL in case of an ENOMEM error. */ struct libscols_column *scols_new_column(void) { diff --git a/libsmartcols/src/line.c b/libsmartcols/src/line.c index b9e41a70da..f3abb1401c 100644 --- a/libsmartcols/src/line.c +++ b/libsmartcols/src/line.c @@ -356,7 +356,7 @@ struct libscols_cell *scols_line_get_column_cell( /** * scols_line_set_data: - * @ln: a pointer to a struct libscols_cell instance + * @ln: a pointer to a struct libscols_line instance * @n: number of the cell, whose data is to be set * @data: actual data to set * @@ -373,7 +373,7 @@ int scols_line_set_data(struct libscols_line *ln, size_t n, const char *data) /** * scols_line_set_column_data: - * @ln: a pointer to a struct libscols_cell instance + * @ln: a pointer to a struct libscols_line instance * @cl: column, whose data is to be set * @data: actual data to set * @@ -392,7 +392,7 @@ int scols_line_set_column_data(struct libscols_line *ln, /** * scols_line_refer_data: - * @ln: a pointer to a struct libscols_cell instance + * @ln: a pointer to a struct libscols_line instance * @n: number of the cell which will refer to @data * @data: actual data to refer to * @@ -409,7 +409,7 @@ int scols_line_refer_data(struct libscols_line *ln, size_t n, char *data) /** * scols_line_refer_column_data: - * @ln: a pointer to a struct libscols_cell instance + * @ln: a pointer to a struct libscols_line instance * @cl: column, whose data is to be set * @data: actual data to refer to * @@ -428,7 +428,7 @@ int scols_line_refer_column_data(struct libscols_line *ln, /** * scols_copy_line: - * @ln: a pointer to a struct libscols_cell instance + * @ln: a pointer to a struct libscols_line instance * * Returns: A newly allocated copy of @ln, NULL in case of an error. */ -- 2.47.3