column: do not include pager.c
authorJunio C Hamano <gitster@pobox.com>
Tue, 24 Oct 2017 01:11:18 +0000 (10:11 +0900)
committerJunio C Hamano <gitster@pobox.com>
Tue, 24 Oct 2017 01:19:06 +0000 (10:19 +0900)
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 <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
column.c
index ded50337f7a52bd237509114c0c330de34f3525a..49ab85b76916784d5d5e6d6ef15a9638ef97b59f 100644 (file)
--- 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) : \