pager.h: move declarations for pager.c functions from cache.h
Signed-off-by: Elijah Newren <newren@gmail.com> Acked-by: Calvin Wan <calvinwan@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
0e8d4b9db7
commit
ca4eed708d
13
cache.h
13
cache.h
@ -145,7 +145,6 @@ struct cache_entry {
|
||||
|
||||
/* Forward structure decls */
|
||||
struct pathspec;
|
||||
struct child_process;
|
||||
struct tree;
|
||||
|
||||
/*
|
||||
@ -621,8 +620,6 @@ int df_name_compare(const char *name1, size_t len1, int mode1,
|
||||
int name_compare(const char *name1, size_t len1, const char *name2, size_t len2);
|
||||
int cache_name_stage_compare(const char *name1, int len1, int stage1, const char *name2, int len2, int stage2);
|
||||
|
||||
const char *git_pager(int stdout_is_tty);
|
||||
|
||||
struct cache_def {
|
||||
struct strbuf path;
|
||||
int flags;
|
||||
@ -671,16 +668,6 @@ int copy_fd(int ifd, int ofd);
|
||||
int copy_file(const char *dst, const char *src, int mode);
|
||||
int copy_file_with_time(const char *dst, const char *src, int mode);
|
||||
|
||||
/* pager.c */
|
||||
void setup_pager(void);
|
||||
int pager_in_use(void);
|
||||
extern int pager_use_color;
|
||||
int term_columns(void);
|
||||
void term_clear_line(void);
|
||||
int decimal_width(uintmax_t);
|
||||
int check_pager_config(const char *cmd);
|
||||
void prepare_pager_args(struct child_process *, const char *pager);
|
||||
|
||||
/* base85 */
|
||||
int decode_85(char *dst, const char *line, int linelen);
|
||||
void encode_85(char *buf, const unsigned char *data, int bytes);
|
||||
|
Reference in New Issue
Block a user