summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cache.h1
-rw-r--r--environment.c1
-rw-r--r--pager.c1
3 files changed, 1 insertions, 2 deletions
diff --git a/cache.h b/cache.h
index 4ff196c259..5e50887d63 100644
--- a/cache.h
+++ b/cache.h
@@ -1733,7 +1733,6 @@ extern int write_file_gently(const char *path, const char *fmt, ...);
/* pager.c */
extern void setup_pager(void);
-extern const char *pager_program;
extern int pager_in_use(void);
extern int pager_use_color;
extern int term_columns(void);
diff --git a/environment.c b/environment.c
index 96160a75a5..bccdee9d0b 100644
--- a/environment.c
+++ b/environment.c
@@ -39,7 +39,6 @@ size_t packed_git_window_size = DEFAULT_PACKED_GIT_WINDOW_SIZE;
size_t packed_git_limit = DEFAULT_PACKED_GIT_LIMIT;
size_t delta_base_cache_limit = 96 * 1024 * 1024;
unsigned long big_file_threshold = 512 * 1024 * 1024;
-const char *pager_program;
int pager_use_color = 1;
const char *editor_program;
const char *askpass_program;
diff --git a/pager.c b/pager.c
index fc210f951d..00c8baace0 100644
--- a/pager.c
+++ b/pager.c
@@ -7,6 +7,7 @@
#endif
static struct child_process pager_process = CHILD_PROCESS_INIT;
+static const char *pager_program;
static void wait_for_pager(int in_signal)
{