From 10b7b6439ada717f54075f53d530bacb7711b5cc Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 14 Nov 2011 13:30:12 +0100 Subject: [PATCH] lib,tt: fix compiler warning [-Wreturn-type] Signed-off-by: Karel Zak --- lib/tt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.3