mirror of
https://github.com/git/git.git
synced 2024-05-20 13:26:08 +02:00
bde11fdc7a
pager.h uses uintmax_t but does not include stdint.h. Therefore, add this include statement. This was discovered when writing a stub pager.c file. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Calvin Wan <calvinwan@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
20 lines
409 B
C
20 lines
409 B
C
#ifndef PAGER_H
|
|
#define PAGER_H
|
|
|
|
#include <stdint.h>
|
|
|
|
struct child_process;
|
|
|
|
const char *git_pager(int stdout_is_tty);
|
|
void setup_pager(void);
|
|
int pager_in_use(void);
|
|
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);
|
|
|
|
extern int pager_use_color;
|
|
|
|
#endif /* PAGER_H */
|