mirror of
https://github.com/git/git.git
synced 2024-06-15 08:46:26 +02:00
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 <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
b2d3fd287b
commit
965ff23a43
1
column.c
1
column.c
|
@ -5,7 +5,6 @@
|
||||||
#include "parse-options.h"
|
#include "parse-options.h"
|
||||||
#include "run-command.h"
|
#include "run-command.h"
|
||||||
#include "utf8.h"
|
#include "utf8.h"
|
||||||
#include "pager.c"
|
|
||||||
|
|
||||||
#define XY2LINEAR(d, x, y) (COL_LAYOUT((d)->colopts) == COL_COLUMN ? \
|
#define XY2LINEAR(d, x, y) (COL_LAYOUT((d)->colopts) == COL_COLUMN ? \
|
||||||
(x) * (d)->rows + (y) : \
|
(x) * (d)->rows + (y) : \
|
||||||
|
|
Loading…
Reference in New Issue