From: Karel Zak Date: Mon, 14 Nov 2011 12:30:12 +0000 (+0100) Subject: lib,tt: fix compiler warning [-Wreturn-type] X-Git-Tag: v2.21-rc1~192 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=10b7b6439ada717f54075f53d530bacb7711b5cc;p=thirdparty%2Futil-linux.git lib,tt: fix compiler warning [-Wreturn-type] Signed-off-by: Karel Zak --- diff --git a/lib/tt.c b/lib/tt.c index 4ce0276596..78070a323f 100644 --- 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;