]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lib,tt: fix compiler warning [-Wreturn-type]
authorKarel Zak <kzak@redhat.com>
Mon, 14 Nov 2011 12:30:12 +0000 (13:30 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 14 Nov 2011 12:30:12 +0000 (13:30 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
lib/tt.c

index 4ce0276596aa5e800e96dee79df4de5aab8cd9c7..78070a323f4ebcc5afbd41c63a4d9058b567744d 100644 (file)
--- a/lib/tt.c
+++ b/lib/tt.c
@@ -357,7 +357,7 @@ static char *line_get_data(struct tt_line *ln, struct tt_column *cl,
  * is marked as "extreme". In the second pass all extreme fields are ignored
  * and column width is counted from non-extreme fields only.
  */
-static size_t count_column_width(struct tt *tb, struct tt_column *cl,
+static void count_column_width(struct tt *tb, struct tt_column *cl,
                                 char *buf, size_t bufsz)
 {
        struct list_head *lp;