From: Junio C Hamano Date: Tue, 24 Oct 2017 01:11:18 +0000 (+0900) Subject: column: do not include pager.c X-Git-Tag: v2.15.1~40^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=965ff23a4395fb9c09133a48244b1cd2f70e88e9;p=thirdparty%2Fgit.git column: do not include pager.c Everything this file needs from the pager API (e.g. term_columns(), pager_in_use()) is already declared in the header file it includes. Noticed-by: Jonathan Nieder Signed-off-by: Junio C Hamano --- diff --git a/column.c b/column.c index ded50337f7..49ab85b769 100644 --- a/column.c +++ b/column.c @@ -5,7 +5,6 @@ #include "parse-options.h" #include "run-command.h" #include "utf8.h" -#include "pager.c" #define XY2LINEAR(d, x, y) (COL_LAYOUT((d)->colopts) == COL_COLUMN ? \ (x) * (d)->rows + (y) : \